5

CVE-2007-2052: python Off-by-one Error

Modified
Published 16-04-2007Last modified 07-08-2024

Vulnerability summary

CVE-2007-2052 is a medium (CVSS 5.0) Off-by-one Error vulnerability in python. EPSS estimates a 13.64% chance of exploitation in the next 30 days, higher than 96.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (exploit-database, 08-05-2007)

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v2.0 (NVD)
EPSS score
13.64%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 10 · Related 2

Timeline

  1. 16-04-2007
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

13.64%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

No change 0.00 pp

From 13.64% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • exploit-databaseremotelinuxVerified

    Python 2.5 - 'PyLocale_strxfrm' Remote Information Leak

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.

Python1 product

1 vendor · 1 product

References

38 links
Show all 38 references