CVE-2012-2135Python
Medium 6.4 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | ≥ 2.7.0 < 2.7.4 |
| python | python | ≥ 3.2.0 < 3.2.4 |
| python | python | ≥ 3.3.0 < 3.3.3 |
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 11.04 |
| canonical | ubuntu_linux | 11.10 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 12.10 |
| debian | debian_linux | 6.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Third Party Advisory
- bugs.python.org Vendor Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory