Live threats

All CVEs / Python

CVE-2008-3142Python

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
4.5%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Aug 1, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython< 2.4.6
pythonpython≥ 2.5.0 < 2.5.3
canonicalubuntu_linux6.06
canonicalubuntu_linux7.04
canonicalubuntu_linux7.10
canonicalubuntu_linux8.04
debiandebian_linux4.0

Official sources

References

Links published by the sources. Open them with care.