All vulnerabilities

Servers and applications

CVE-2007-2052

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.

Severity
Medium 5.0
Published
16 Apr 2007
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
14% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-193
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 2.4.0
  • Version 2.5.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-2052
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-2052