Security mailing lists by PureSourceCode

CVE-2008-5031

HIGH 10.0CVSS 2.0

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
10 Nov 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-189
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*
= 2.2.3
NVD python python
cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*
= 2.3.7
NVD python python
cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*
= 2.4.6
NVD python python
cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*
= 2.5.1

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 10 Nov 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.