{"cve":"CVE-2013-7040","nvd":{"published":"2014-05-19T14:55:09.987","modified":"2026-06-17T00:01:19.607","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-310"],"references":["http://bugs.python.org/issue14621","http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","http://www.openwall.com/lists/oss-security/2013/12/09/13","http://www.openwall.com/lists/oss-security/2013/12/09/3","http://www.securityfocus.com/bid/64194"],"products":["apple:mac_os_x","python:python"],"source":"nvd","synced_at":"2026-10-19T20:33:06.232976534+00:00"},"epss":{"cve":"CVE-2013-7040","score":0.03141,"percentile":0.87911,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}