Vulnerability in Python
CVE-2008-5031
Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer value in the tabsize argument to the expandtabs method, as implemented by (1) the string_expandtabs function in Objects/stringobject.c and (2) the unicode_expandtabs function in Objects/unicodeobject.c. NOTE: this vulnerability reportedly exists because of an incomplete fix for CVE-2008-2315.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.030 (86.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
- Python — versions 2.2.3, 2.3.7, 2.4.6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- svn.python.org/view/python/trunk/Objects/unicodeobject.c
- security.gentoo.org/glsa/glsa-200907-16.xml (vendor-advisory)
- secunia.com/advisories/33937 (Vendor Advisory, third-party-advisory)
- scary.beasts.org/security/CESA-2008-008.html
- secunia.com/advisories/37471 (Vendor Advisory, third-party-advisory)
- www.openwall.com/lists/oss-security/2008/11/05/3 (mailing-list)
- www.openwall.com/lists/oss-security/2008/11/05/2 (mailing-list)
- www.vmware.com/security/advisories/VMSA-2009-0016.html
- support.apple.com/kb/HT3438
- svn.python.org/view
Frequently asked questions
- What is CVE-2008-5031?
- CVE-2008-5031 is a vulnerability in Python, classified under CWE-189. Published 2008-11-10.
- Is CVE-2008-5031 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.