Vulnerabilities · 2012 · Python
CVE-2012-2135
Python vulnerability
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.
Affected products
Python, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.python.org/issue14579 · Vendor Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=670389 · Third Party Advisory
- secunia.com/advisories/51087 · Third Party Advisory
- secunia.com/advisories/51089 · Third Party Advisory
- www.openwall.com/lists/oss-security/2012/04/25/2 · Third Party Advisory
- www.openwall.com/lists/oss-security/2012/04/25/4 · Third Party Advisory
- www.ubuntu.com/usn/USN-1615-1 · Third Party Advisory
- www.ubuntu.com/usn/USN-1616-1 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2012-2135
- cve.org/CVERecord?id=CVE-2012-2135
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.