{"id":"CVE-2008-5031","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2008-11-10T16:00:00.000Z","updatedAt":"2024-08-07T10:40:17.351Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c","http://security.gentoo.org/glsa/glsa-200907-16.xml","http://secunia.com/advisories/33937","http://scary.beasts.org/security/CESA-2008-008.html","http://secunia.com/advisories/37471","http://www.openwall.com/lists/oss-security/2008/11/05/3","http://www.openwall.com/lists/oss-security/2008/11/05/2","http://www.vmware.com/security/advisories/VMSA-2009-0016.html","http://support.apple.com/kb/HT3438","http://svn.python.org/view?rev=61350&view=rev","http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html","http://www.securityfocus.com/archive/1/507985/100/0/threaded","https://exchange.xforce.ibmcloud.com/vulnerabilities/46612","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564","http://secunia.com/advisories/35750","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280","http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c","http://www.vupen.com/english/advisories/2009/3316"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:03.292Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/5xxx/CVE-2008-5031.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-5031","state":"PUBLISHED","datePublished":"2008-11-10T16:00:00.000Z","dateUpdated":"2024-08-07T10:40:17.351Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-11-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c","tags":["x_refsource_CONFIRM"]},{"url":"http://security.gentoo.org/glsa/glsa-200907-16.xml","name":"GLSA-200907-16","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/33937","name":"33937","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://scary.beasts.org/security/CESA-2008-008.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/37471","name":"37471","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/3","name":"[oss-security] 20081105 Re: CVE Request - Python string expandtabs","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/2","name":"[oss-security] 20081105 CVE Request - Python string expandtabs","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM"]},{"url":"http://support.apple.com/kb/HT3438","tags":["x_refsource_CONFIRM"]},{"url":"http://svn.python.org/view?rev=61350&view=rev","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html","name":"APPLE-SA-2009-02-12","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","name":"20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46612","name":"python-expandtabs-integer-overflow(46612)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564","name":"oval:org.mitre.oval:def:8564","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/35750","name":"35750","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280","name":"oval:org.mitre.oval:def:11280","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","name":"ADV-2009-3316","tags":["vdb-entry","x_refsource_VUPEN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-11-05T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5031","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c","refsource":"CONFIRM","url":"http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c"},{"name":"GLSA-200907-16","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200907-16.xml"},{"name":"33937","refsource":"SECUNIA","url":"http://secunia.com/advisories/33937"},{"name":"http://scary.beasts.org/security/CESA-2008-008.html","refsource":"MISC","url":"http://scary.beasts.org/security/CESA-2008-008.html"},{"name":"37471","refsource":"SECUNIA","url":"http://secunia.com/advisories/37471"},{"name":"[oss-security] 20081105 Re: CVE Request - Python string expandtabs","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/11/05/3"},{"name":"[oss-security] 20081105 CVE Request - Python string expandtabs","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/11/05/2"},{"name":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","refsource":"CONFIRM","url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html"},{"name":"http://support.apple.com/kb/HT3438","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT3438"},{"name":"http://svn.python.org/view?rev=61350&view=rev","refsource":"CONFIRM","url":"http://svn.python.org/view?rev=61350&view=rev"},{"name":"APPLE-SA-2009-02-12","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html"},{"name":"20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded"},{"name":"python-expandtabs-integer-overflow(46612)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46612"},{"name":"oval:org.mitre.oval:def:8564","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564"},{"name":"35750","refsource":"SECUNIA","url":"http://secunia.com/advisories/35750"},{"name":"oval:org.mitre.oval:def:11280","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280"},{"name":"http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c","refsource":"CONFIRM","url":"http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c"},{"name":"ADV-2009-3316","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/3316"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200907-16.xml","name":"GLSA-200907-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://secunia.com/advisories/33937","name":"33937","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://scary.beasts.org/security/CESA-2008-008.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/37471","name":"37471","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/3","name":"[oss-security] 20081105 Re: CVE Request - Python string expandtabs","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/2","name":"[oss-security] 20081105 CVE Request - Python string expandtabs","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.apple.com/kb/HT3438","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://svn.python.org/view?rev=61350&view=rev","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html","name":"APPLE-SA-2009-02-12","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","name":"20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46612","name":"python-expandtabs-integer-overflow(46612)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564","name":"oval:org.mitre.oval:def:8564","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/35750","name":"35750","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280","name":"oval:org.mitre.oval:def:11280","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","name":"ADV-2009-3316","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T10:40:17.351Z"}}]}}}