kbrain

CVE-2013-7040

MEDIUM · CVSS 4.3EPSS 3.1%EU EUVD

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.

Key facts

CVSS score
4.3 (v2.0)
Severity
MEDIUM
CVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness (CWE)
CWE-310
EPSS score
3.1% (88th percentile)
In CISA KEV
No
In EU EUVD
Yes (EUVD-2013-6840)
Published
May 19, 2014
NVD last modified
June 17, 2026
Status
Modified

EU Vulnerability Database (EUVD)

This vulnerability is also tracked by ENISA as EUVD-2013-6840 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.

View on the EU Vulnerability Database

Affected products

  • apple / mac os x
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python
  • python / python

Certified products that may be affected

2 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.

References

Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS

Query CVEs from your AI assistant

The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.

Add the CVE brain