CVE-2012-1150 json
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 t…
published 2012-10-05 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1184
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- python2.7 Debian 11 2.7.3~rc1-1
debian advisories DEBIAN-CVE-2012-1150
- python RHEL 5 2.4.3-46.el5_8.2
- tkinter RHEL 5 2.4.3-46.el5_8.2
- python-libs RHEL 5 2.4.3-46.el5_8.2
- python-tools RHEL 5 2.4.3-46.el5_8.2
- python RHEL 6 2.6.6-29.el6_2.2
- tkinter RHEL 6 2.6.6-29.el6_2.2
- python-libs RHEL 6 2.6.6-29.el6_2.2
- python-test RHEL 6 2.6.6-29.el6_2.2
red hat advisories RHSA-2012:0745RHSA-2012:0744
- python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
- python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1
- python3 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.6.10-3.42.2
- python3-base SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.6.10-3.42.2
suse advisories SUSE-SU-2020:0234-1SUSE-SU-2020:0114-1
- python315 openSUSE Tumbleweed 3.15.0~a1-1.1
- python314 openSUSE Tumbleweed 3.14.0~a1-1.1
- python313 openSUSE Tumbleweed 3.13.0~b3-1.1
- python-base openSUSE Tumbleweed 2.7.12-1.4
- python openSUSE Tumbleweed 2.7.18-8.1
- python310 openSUSE Tumbleweed 3.10.0rc1-4.2
- python36 openSUSE Tumbleweed 3.6.15-1.1
- python38 openSUSE Tumbleweed 3.8.12-1.2
opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14109-1openSUSE-SU-2024:10536-1openSUSE-SU-2024:11202-1openSUSE-SU-2024:11283-1
- python.org/download/releases/3.2.3/ advisory
- python.org/download/releases/2.6.8/ advisory
- python.org/download/releases/3.1.5/ advisory
- python.org/download/releases/2.7.3/ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-1150 updated cvss 5.0
python: hash table collisions CPU usage DoS (oCERT-2011-003)
-
Red Hat Enterprise Linux 4 pythonaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux (v. 5 server) python 2.4.3-46.el5_8.2, tkinter 2.4.3-46.el5_8.2, python-libs 2.4.3-46.el5_8.2, python-tools 2.4.3-46.el5_8.2 Red Hat Enterprise Linux Desktop (v. 5 client) python 2.4.3-46.el5_8.2, tkinter 2.4.3-46.el5_8.2, python-libs 2.4.3-46.el5_8.2, python-tools 2.4.3-46.el5_8.2fixed: vendor fix RHSA-2012:0745
-
Red Hat Enterprise Linux Desktop (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Desktop Optional (v. 6) python 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2 Red Hat Enterprise Linux HPC Node (v. 6) python 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux HPC Node Optional (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Server (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Server Optional (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2fixed: vendor fix RHSA-2012:0744
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Workstation Optional (v. 6) python 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2 -
Red Hat RHEL Desktop Workstation (v. 5 client) python 2.4.3-46.el5_8.2fixed: vendor fix RHSA-2012:0745
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.06% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.python.org http://bugs.python.org/issue13703 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-310 Cryptographic Issues
References
-
python.org
/download/releases/3.2.3/
patch, vendor-advisory
-
python.org
/download/releases/2.6.8/
patch, vendor-advisory
-
python.org
/download/releases/3.1.5/
patch, vendor-advisory
-
python.org
/download/releases/2.7.3/
patch, vendor-advisory
-
bugs.python.org
/issue13703
exploit
-
ubuntu.com
/usn/USN-1615-1
vendor-advisory
-
ubuntu.com
/usn/USN-1592-1
vendor-advisory
-
ubuntu.com
/usn/USN-1616-1
vendor-advisory
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00004.html
vendor-advisory
-
ubuntu.com
/usn/USN-1596-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-01/msg00040.html
vendor-advisory
-
secunia.com
/advisories/51087
third-party-advisory
-
mail.python.org
/pipermail/python-dev/2011-December/115116.html
mailing-list
-
secunia.com
/advisories/50858
third-party-advisory
-
secunia.com
/advisories/51089
third-party-advisory
-
mail.python.org
/pipermail/python-dev/2012-January/115892.html
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=750555
-
openwall.com
/lists/oss-security/2012/03/10/3
mailing-list
Sources
- CVE List CVE-2012-1150
- NVD CVE-2012-1150
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.