Live threats

All CVEs / Python

CVE-2012-2135Python

Medium 6.4 No auth needed

Priority
54
CVSS 2.0
6.4
EPSS
4.5%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Aug 14, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:P

What happens

The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 2.7.0 < 2.7.4
pythonpython≥ 3.2.0 < 3.2.4
pythonpython≥ 3.3.0 < 3.3.3
canonicalubuntu_linux10.04
canonicalubuntu_linux11.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
canonicalubuntu_linux12.10
debiandebian_linux6.0

Official sources

References

Links published by the sources. Open them with care.