CVE-2007-2052

Summary

CVECVE-2007-2052
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-04-16 22:19:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionOff-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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-193 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Python Python 2.4.0 All All All
Application Python Python 2.5.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Debian update for python2.5 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link, Third Party Advisory
[Security-announce] VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates af854a3a-2127-422b-91ae-364da2661108 lists.vmware.com Third Party Advisory
VMware ESX Server Multiple Updates - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link, Third Party Advisory
rPath update for idle and python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link, Third Party Advisory
Ubuntu update for python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Mandriva update for python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
Debian update for python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Red Hat update for python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com VDB Entry
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
VMware ESX and vMA Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Python "PyLocale_strxfrm()" Off-By-One Information Disclosure - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
Python PyLocale_strxfrm Function Remote Information Leak Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
235093 – (CVE-2007-2052) CVE-2007-2052 python off-by-one locale.strxfrm() (possible memory disclosure) af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
USN-585-1: Python vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
www.trustix.org/errata/2007/0019 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Third Party Advisory
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com Third Party Advisory
Debian -- Security Information -- DSA-1620-1 python2.5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Trustix Updates for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Red Hat Network Satellite Server Update for Solaris Client - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Welcome to Python.org af854a3a-2127-422b-91ae-364da2661108 www.python.org Broken Link, Vendor Advisory
Red Hat update for python - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
#416934 - python2.5: off-by-one bug in strxfrm() (causes information leak) - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org Third Party Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
VMSA-2009-0016.1 af854a3a-2127-422b-91ae-364da2661108 www.vmware.com Broken Link, Third Party Advisory
Debian -- Security Information -- DSA-1551-1 python2.4 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
issues.rpath.com/browse/RPL-1358 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Third Party Advisory
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-04-19Joshua BressersRed Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report