CVE-2007-2052: python Off-by-one Error
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.
Weaponized exploit (exploit-database, 08-05-2007)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 2Timeline
- 16-04-2007PublishedVulnerability first disclosed.
- 07-08-2024Last 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 versionEPSS 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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPython 2.5 - 'PyLocale_strxfrm' Remote Information Leak
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Python1 product
- python2.4.0 | 2.5.0
1 vendor · 1 product
References
38 links- lists.vmware.com/pipermail/security-announce/2008/000005.htmlMailing ListX Refsource MLISTThird Party Advisory
- www.vmware.com/security/advisories/VMSA-2009-0016.htmlX Refsource CONFIRMBroken LinkThird Party Advisory
Show all 38 references
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8353VDB EntrySignatureX Refsource OVALBroken Link
- www.securityfocus.com/archive/1/469294/30/6450/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry
- www.redhat.com/support/errata/RHSA-2008-0629.htmlVendor AdvisoryX Refsource REDHATThird Party Advisory
- www.redhat.com/support/errata/RHSA-2007-1077.htmlVendor AdvisoryX Refsource REDHATThird Party Advisory
- www.securityfocus.com/archive/1/488457/100/0/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry
- www.redhat.com/support/errata/RHSA-2007-1076.htmlVendor AdvisoryX Refsource REDHATThird Party Advisory
- www.securityfocus.com/archive/1/507985/100/0/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry
- www.novell.com/linux/security/advisories/2007_13_sr.htmlVendor AdvisoryX Refsource SUSEThird Party Advisory
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11716VDB EntrySignatureX Refsource OVALBroken Link
- www.mandriva.com/security/advisories?name=MDKSA-2007:099Vendor AdvisoryX Refsource MANDRIVABroken LinkThird Party Advisory