All vulnerabilities

Servers and applications

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…

Severity
High 10.0
Published
10 Nov 2008
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
3% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-189
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 2.2.3
  • Version 2.3.7
  • Version 2.4.6
  • Version 2.5.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-5031
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-5031