CVE-2008-5031 Integer overflow in n/a

Critical 10.0 Published Updated

Integer overflows in Python's expandtabs method allow attackers to cause denial of service or potentially execute code via crafted large integer inputs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-5031?

CVE-2008-5031 is a critical vulnerability in Python Python, published on 10 Nov 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2008-5031?

It affects 1 product.

Products include Python Python.

How do I fix CVE-2008-5031?

Upgrade to a fixed version.

Is CVE-2008-5031 being exploited?

There is no known exploitation of CVE-2008-5031 in the wild and no public exploit code.

All Python Python vulnerabilities

Sources

Also known as GHSA-crr2-q8mf-w298, PSF-2008-10.

Is CVE-2008-5031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free