the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   

Vulnerability Details : 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.
Publish Date : 2008-11-10 Last Update Date : 2019-10-25
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 189

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low 2008-10-19 2008-10-19
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2008-5031 unix
ELSA-2009:1176: python security update (Moderate) oval:org.mitre.oval:def:22809 unix
Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown ... oval:org.mitre.oval:def:11280 unix
RHSA-2009:1176 -- python security update (Moderate) oval:org.mitre.oval:def:29294 unix
RHSA-2009:1176: python security update (Moderate) oval:com.redhat.rhsa:def:20091176 unix
RHSA-2009:1177: python security update (Moderate) oval:com.redhat.rhsa:def:20091177 unix
RHSA-2009:1178: python security update (Moderate) oval:com.redhat.rhsa:def:20091178 unix
VMware python multiple integer overflows vulnerability oval:org.mitre.oval:def:8564 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2008-5031

# Product Type Vendor Product Version Update Edition Language
1 Application Python Python 2.2.3 * * * Version Details Vulnerabilities
2 Application Python Python 2.3.7 * * * Version Details Vulnerabilities
3 Application Python Python 2.4.6 * * * Version Details Vulnerabilities
4 Application Python Python 2.5.1 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Python Python 4

- References For CVE-2008-5031
VUPEN ADV-2009-3316
XF python-expandtabs-integer-overflow(46612) CONFIRM
GENTOO GLSA-200907-16
MLIST [oss-security] 20081105 Re: CVE Request - Python string expandtabs
MLIST [oss-security] 20081105 CVE Request - Python string expandtabs
OVAL oval:org.mitre.oval:def:8564
OVAL oval:org.mitre.oval:def:11280
BUGTRAQ 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components

- Metasploit Modules Related To CVE-2008-5031

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.