All vulnerabilities

Servers and applications

CVE-2013-7040

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…

Severity
Medium 4.3
Published
19 May 2014
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 3.3.5
  • Version 3.3.5-rc2
  • Version 3.3.5-rc1
  • Version 3.3.4
All 39 release lines
  • Version 2.7.1-rc1
  • Version 2.7.1
  • Version 2.7.2-rc1
  • Version 2.7.3
  • Version 2.7.4
  • Version 2.7.5
  • Version 2.7.6
  • Version 2.7.7
  • Version 2.7.1150
  • Version 2.7.2150
  • Version 3.0
  • Version 3.0.1
  • Version 3.1
  • Version 3.1.1
  • Version 3.1.2
  • Version 3.1.3
  • Version 3.1.4
  • Version 3.1.5
  • Version 3.2-alpha
  • Version 3.2
  • Version 3.2.1
  • Version 3.2.2
  • Version 3.2.3
  • Version 3.2.4
  • Version 3.2.5
  • Version 3.2.2150
  • Version 3.3-beta2
  • Version 3.3
  • Version 3.3.1-rc1
  • Version 3.3.1
  • Version 3.3.2
  • Version 3.3.3-rc1
  • Version 3.3.3-rc2
  • Version 3.3.3
  • Version 3.3.4-rc1
  • Version 3.3.4
  • Version 3.3.5-rc1
  • Version 3.3.5-rc2
  • Version 3.3.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2013-7040
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2013-7040