
CVE catalog
CVE-2013-7040
DEBIAN-CVE-2013-7040
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 3.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-7 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm6 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm7 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm8 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm9 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm10 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm11 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm12 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm13 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm14 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm15 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm16 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm17 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm18 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm20 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm21 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm22 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm24 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm25 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm26 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm28 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm29 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm30 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-10 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-11 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-12 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-13 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-13.1 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-13.1~exp1 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-13.2 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-8 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-8+deb11u1 | vulnerable |
| Debian | python2.7 | 11 | 2.7.18-9 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed: