Live threats

All CVEs / Apple

CVE-2013-7040Apple Mac Os X

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
May 19, 2014
Updated
Jun 17, 2026
Category
Operating system · Apple
Weakness (CWE)
CWE-310
Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P

What happens

Python 2.7 before 3.4 only uses the last eight bits of the prefix to randomize hash values, which causes it to compute hash values without restricting the ability to trigger hash collisions predictably and makes it easier for context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1150.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mac Os X.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
applemac_os_x≤ 10.10.4
pythonpython2.7.1
pythonpython2.7.1
pythonpython2.7.2
pythonpython2.7.3
pythonpython2.7.4
pythonpython2.7.5
pythonpython2.7.6
pythonpython2.7.7
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.1.5
pythonpython3.2
pythonpython3.2
pythonpython3.2.0
pythonpython3.2.1
pythonpython3.2.2
pythonpython3.2.3
pythonpython3.2.4
pythonpython3.2.5
pythonpython3.2.2150
pythonpython3.3
pythonpython3.3
pythonpython3.3.0
pythonpython3.3.1
pythonpython3.3.1
pythonpython3.3.2
pythonpython3.3.3
pythonpython3.3.3
pythonpython3.3.3
pythonpython3.3.4
pythonpython3.3.4
pythonpython3.3.5
pythonpython3.3.5
pythonpython3.3.5

Official sources

References

Links published by the sources. Open them with care.