CVE-2007-2052
publishedpython off-by-one locale.strxfrm() (possible memory disclosure)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | etch | python2.4 | Advisory build | 2.4.4-3+etch1 | DSA-1551-1 |
| Red Hat Enterprise Linux | RHEL-2 | pythoni386 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Debian | etch | python2.5 | Advisory build | 2.5-5+etch1 | DSA-1620-1 |
| Red Hat Enterprise Linux | RHEL-2 | pythonia64 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | pythonsrc | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | python-develi386 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | python-develia64 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-2 | python-docsi386 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | python-docsia64 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | python-toolsi386 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | python-toolsia64 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | tkinteri386 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-2 | tkinteria64 | Advisory build | 1.5.2-43.72.2 | RHSA-2007:1077 |
| Red Hat Enterprise Linux | RHEL-3 | pythoni386 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythonia64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythonppc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythons390 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythons390x | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythonsrc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | pythonx86_64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfoi386 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfoia64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfoppc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfos390 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfos390x | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-debuginfox86_64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-develi386 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-develia64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-develppc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-devels390 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-devels390x | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-develx86_64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolsi386 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolsia64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolsppc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolss390 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolss390x | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | python-toolsx86_64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinteri386 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinteria64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinterppc | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinters390 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinters390x | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-3 | tkinterx86_64 | Advisory build | 2.2.3-6.8 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythoni386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythonia64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythonppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythons390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythons390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythonsrc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | pythonx86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoi386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoia64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfoppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfos390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfos390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-debuginfox86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-develi386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-develia64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-develppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-devels390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-devels390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-develx86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsi386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsia64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docss390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docss390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-docsx86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsi386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsia64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolss390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolss390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | python-toolsx86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinteri386 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinteria64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinterppc | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinters390 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinters390x | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-4 | tkinterx86_64 | Advisory build | 2.3.4-14.4.el4_6.1 | RHSA-2007:1076 |
| Red Hat Enterprise Linux | RHEL-5 | pythoni386 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | pythonia64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | pythonppc | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | pythons390x | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | pythonsrc | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | pythonx86_64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoi386 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoia64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoppc | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfoppc64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfos390 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfos390x | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-debuginfox86_64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-develi386 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-develia64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-develppc | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-develppc64 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-devels390 | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
| Red Hat Enterprise Linux | RHEL-5 | python-devels390x | Advisory build | 2.4.3-24.el5_3.6 | RHSA-2009:1176 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
38- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates http://lists.vmware.com/pipermail/security-announce/2008/000005.html
- 25190 http://secunia.com/advisories/25190
- 25217 http://secunia.com/advisories/25217
- 25233 http://secunia.com/advisories/25233
- 25353 http://secunia.com/advisories/25353
- 25787 http://secunia.com/advisories/25787
- 28027 http://secunia.com/advisories/28027
- 28050 http://secunia.com/advisories/28050
- 29032 http://secunia.com/advisories/29032
- 29303 http://secunia.com/advisories/29303
- 29889 http://secunia.com/advisories/29889
- 31255 http://secunia.com/advisories/31255
- 31492 http://secunia.com/advisories/31492
- 37471 http://secunia.com/advisories/37471
- DSA-1551 http://www.debian.org/security/2008/dsa-1551
- DSA-1620 http://www.debian.org/security/2008/dsa-1620
- MDKSA-2007:099 http://www.mandriva.com/security/advisories?name=MDKSA-2007:099
- SUSE-SR:2007:013 http://www.novell.com/linux/security/advisories/2007_13_sr.html
- http://www.python.org/download/releases/2.5.1/NEWS.txt
- RHSA-2007:1076 http://www.redhat.com/support/errata/RHSA-2007-1076.html
- RHSA-2007:1077 http://www.redhat.com/support/errata/RHSA-2007-1077.html
- RHSA-2008:0629 http://www.redhat.com/support/errata/RHSA-2008-0629.html
- 20070521 FLEA-2007-0019-1: python http://www.securityfocus.com/archive/1/469294/30/6450/threaded
- 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates http://www.securityfocus.com/archive/1/488457/100/0/threaded
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components http://www.securityfocus.com/archive/1/507985/100/0/threaded
- 23887 http://www.securityfocus.com/bid/23887
- 2007-0019 http://www.trustix.org/errata/2007/0019/
- USN-585-1 http://www.ubuntu.com/usn/usn-585-1
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- ADV-2007-1465 http://www.vupen.com/english/advisories/2007/1465
- ADV-2008-0637 http://www.vupen.com/english/advisories/2008/0637
- ADV-2009-3316 http://www.vupen.com/english/advisories/2009/3316
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093
- python-localemodule-information-disclosure(34060) https://exchange.xforce.ibmcloud.com/vulnerabilities/34060
- https://issues.rpath.com/browse/RPL-1358
- oval:org.mitre.oval:def:11716 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11716
- oval:org.mitre.oval:def:8353 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8353
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c8ca3d237cef34bb38142d90f6666c78536e2d6b788392e99ed3db788c552ef
- Ingested
- 23 Sep 2026, 07:38:11 UTC
- Source record
- Official CVE record