Vulnerabilities · 2013 · Apple
CVE-2013-7040
Apple Mac Os X vulnerability
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.
Affected products
Mac Os X, Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apple Mac Os X 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
- support.apple.com/kb/HT205031 · Vendor Advisory
- bugs.python.org/issue14621
- lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- www.openwall.com/lists/oss-security/2013/12/09/13
- www.openwall.com/lists/oss-security/2013/12/09/3
- www.securityfocus.com/bid/64194
- nvd.nist.gov/vuln/detail/CVE-2013-7040
- cve.org/CVERecord?id=CVE-2013-7040
More vulnerabilities in Apple products
CVE-2026-20613CVE-2025-48384CVE-2025-46316CVE-2025-46311CVE-2025-46306CVE-2025-46299CVE-2025-46298CVE-2025-46297All 8,308
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.