Live threats

All CVEs / Python

CVE-2012-1150Python

Medium 5.0 No auth needed

Priority
46
CVSS 2.0
5.0
EPSS
5.1%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Oct 5, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-310
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

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.

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.6.7
pythonpython0.9.0
pythonpython0.9.1
pythonpython1.2
pythonpython1.3
pythonpython1.5.2
pythonpython1.6
pythonpython1.6.1
pythonpython2.0
pythonpython2.0.1
pythonpython2.1
pythonpython2.1.1
pythonpython2.1.2
pythonpython2.1.3
pythonpython2.2
pythonpython2.2.1
pythonpython2.2.2
pythonpython2.2.3
pythonpython2.3.1
pythonpython2.3.2
pythonpython2.3.3
pythonpython2.3.4
pythonpython2.3.5
pythonpython2.3.7
pythonpython2.4.1
pythonpython2.4.2
pythonpython2.4.3
pythonpython2.4.4
pythonpython2.4.6
pythonpython2.5.1
pythonpython2.5.2
pythonpython2.5.3
pythonpython2.5.4
pythonpython2.5.6
pythonpython2.5.150
pythonpython2.6.1
pythonpython2.6.2
pythonpython2.6.3
pythonpython2.6.4
pythonpython2.6.5
pythonpython2.6.6
pythonpython2.6.2150
pythonpython2.6.6150
pythonpython2.7.1
pythonpython2.7.1
pythonpython2.7.2
pythonpython2.7.1150
pythonpython2.7.2150
pythonpython3.0
pythonpython3.0.1
pythonpython3.1
pythonpython3.1.1
pythonpython3.1.2
pythonpython3.1.3
pythonpython3.1.4
pythonpython3.2
pythonpython3.2
pythonpython3.2.2150

Official sources

References

Links published by the sources. Open them with care.