python: hash secret can be recovered remotely
Published May 19, 2014
4.3
MEDIUMCVSS 2.0
EPSS 3.26%
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.
Affected products
No data.
Configuration 2
- 2.7.1
- 2.7.1
- 2.7.2
- 2.7.3
- 2.7.4
- 2.7.5
- 2.7.6
- 2.7.7
- 2.7.1150
- 2.7.2150
- 3.0
- 3.0.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.2
- 3.2
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.2150
- 3.3
- 3.3
- 3.3.0
- 3.3.1
- 3.3.1
- 3.3.2
- 3.3.3
- 3.3.3
- 3.3.3
- 3.3.4
- 3.3.4
- 3.3.5
- 3.3.5
- 3.3.5
No data.
Red Hat Enterprise Linux 5
python
Will not fix
Red Hat Enterprise Linux 6
python
Will not fix
Red Hat Enterprise Linux 7
python
Will not fix
Red Hat Software Collections
python27-python
Will not fix
Red Hat Software Collections
python33-python
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | python | Will not fix | n/a |
| Red Hat Software Collections | python27-python | Will not fix | n/a |
| Red Hat Software Collections | python33-python | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the version of python as shipped with Red Hat Enterprise Linux 5 and 6. There are currently no plans to fix this issue. For more details please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1039915#c4
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.26% (0.03255) | 87.94th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.26% (0.03255) | 86.69th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.42% (0.00419) | 59.75th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.27% (0.00269) | 68.69th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.27% (0.00269) | 66.87th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.27% (0.00272) | 62.78th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
References (10)
- http://bugs.python.org/issue14621 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html vendor-advisoryx_refsource_APPLE
- http://www.openwall.com/lists/oss-security/2013/12/09/13 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2013/12/09/3 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/64194 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2013-7040 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1039915 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-7040
- https://support.apple.com/kb/HT205031 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2013-7040
| Link | Providers | Tags |
|---|---|---|
| http://bugs.python.org/issue14621 | x_refsource_CONFIRM | |
| http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html | vendor-advisoryx_refsource_APPLE | |
| http://www.openwall.com/lists/oss-security/2013/12/09/13 | mailing-listx_refsource_MLIST | |
| http://www.openwall.com/lists/oss-security/2013/12/09/3 | mailing-listx_refsource_MLIST | |
| http://www.securityfocus.com/bid/64194 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2013-7040 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1039915 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2013-7040 | ||
| https://support.apple.com/kb/HT205031 | x_refsource_CONFIRMVendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2013-7040 |
Change history (0)
No recorded changes yet.