Vulnerabilities · 2012 · Python
CVE-2012-1150
Python vulnerability
Python before 2.6.8, 2.7.x before 2.7.3, 3.x before 3.1.5, and 3.2.x before 3.2.3 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.
Affected products
Python. 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
- python.org/download/releases/2.6.8/ · Patch
- python.org/download/releases/2.7.3/ · Patch
- python.org/download/releases/3.1.5/ · Patch
- python.org/download/releases/3.2.3/ · Patch
- bugs.python.org/issue13703 · Exploit
- lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- mail.python.org/pipermail/python-dev/2011-December/115116.html
- nvd.nist.gov/vuln/detail/CVE-2012-1150
- cve.org/CVERecord?id=CVE-2012-1150
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.