CWE
310
Advisory Published
Updated

CVE-2013-7040

First published: Mon May 19 2014(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
macOS Yosemite<=10.10.4
Python Programming Language=2.7.1
Python Programming Language=2.7.1-rc1
Python Programming Language=2.7.2-rc1
Python Programming Language=2.7.3
Python Programming Language=2.7.4
Python Programming Language=2.7.5
Python Programming Language=2.7.6
Python Programming Language=2.7.7
Python Programming Language=2.7.1150
Python Programming Language=2.7.2150
Python Programming Language=3.0
Python Programming Language=3.0.1
Python Programming Language=3.1
Python Programming Language=3.1.1
Python Programming Language=3.1.2
Python Programming Language=3.1.3
Python Programming Language=3.1.4
Python Programming Language=3.1.5
Python Programming Language=3.2
Python Programming Language=3.2-alpha
Python Programming Language=3.2.0
Python Programming Language=3.2.1
Python Programming Language=3.2.2
Python Programming Language=3.2.3
Python Programming Language=3.2.4
Python Programming Language=3.2.5
Python Programming Language=3.2.2150
Python Programming Language=3.3
Python Programming Language=3.3-beta2
Python Programming Language=3.3.0
Python Programming Language=3.3.1
Python Programming Language=3.3.1-rc1
Python Programming Language=3.3.2
Python Programming Language=3.3.3
Python Programming Language=3.3.3-rc1
Python Programming Language=3.3.3-rc2
Python Programming Language=3.3.4
Python Programming Language=3.3.4-rc1
Python Programming Language=3.3.5
Python Programming Language=3.3.5-rc1
Python Programming Language=3.3.5-rc2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203