SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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…

HIGH 10.0EPSS 2.99%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.99%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 2.0
10.0 HIGHAV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS
2.99% probability · 87th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-189
Affected
python/python
Source
cve@mitre.org
EPSS trend
0%3%5%26 October 2026: 2.99%26 October 202626 October 2026

EPSS 3.0% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.