CVE-2008-3142 Memory corruption in n/a
Buffer overflows in Python's Unicode processing allow attackers to cause crashes or potentially execute code via crafted long strings.
- 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-3142?
CVE-2008-3142 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 1 Aug 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (crash) or have unspecified other impact via a long string that leads to incorrect memory allocation during Unicode string processing, related to the unicode_resize function and the PyMem_RESIZE macro.
Weakness: CWE-120
Which versions are affected by CVE-2008-3142?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Python Python.
How do I fix CVE-2008-3142?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2008-3142 being exploited?
There is no known exploitation of CVE-2008-3142 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as AZL-109572, GHSA-p7xr-j3cg-2w5r, PSF-2008-6.