Live threats

All CVEs / Python

CVE-2007-2052Python

Medium 5.0 No auth neededHigh EPSS

Priority
46
CVSS 2.0
5.0
EPSS
14.1%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Apr 16, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-193
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.

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
pythonpython2.4.0
pythonpython2.5.0

Official sources

References

Links published by the sources. Open them with care.