Buffer overflow in Python

CVE-2008-3142

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.045 (91.2th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2008-3142: held from 0.045 to 0.045.

EPSS over last 30 days · oldest: 0.045 · newest: 0.045 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2008-3142?
CVE-2008-3142 is a vulnerability in Python, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). Published 2008-08-01.
Is CVE-2008-3142 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.