Unrated severityNVD Advisory· Published Nov 10, 2008· Updated Jun 16, 2026
CVE-2008-5031
CVE-2008-5031
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*
- (no CPE)range: 2.2.3 - 2.5.1, 2.6
Patches
Vulnerability mechanics
References
18- secunia.com/advisories/33937nvdVendor Advisory
- secunia.com/advisories/35750nvdVendor Advisory
- secunia.com/advisories/37471nvdVendor Advisory
- www.vupen.com/english/advisories/2009/3316nvdVendor Advisory
- lists.apple.com/archives/security-announce/2009/Feb/msg00000.htmlnvd
- scary.beasts.org/security/CESA-2008-008.htmlnvd
- security.gentoo.org/glsa/glsa-200907-16.xmlnvd
- support.apple.com/kb/HT3438nvd
- svn.python.org/view/python/trunk/Objects/stringobject.cnvd
- svn.python.org/view/python/trunk/Objects/unicodeobject.cnvd
- svn.python.org/viewnvd
- www.openwall.com/lists/oss-security/2008/11/05/2nvd
- www.openwall.com/lists/oss-security/2008/11/05/3nvd
- www.securityfocus.com/archive/1/507985/100/0/threadednvd
- www.vmware.com/security/advisories/VMSA-2009-0016.htmlnvd
- exchange.xforce.ibmcloud.com/vulnerabilities/46612nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564nvd
News mentions
0No linked articles in our index yet.