CVE-2007-2052 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 13.6% (pctl 96)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| EPSS | 13.64% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-193 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2007-04-16 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| python | python |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Python 2.5 - 'PyLocale_strxfrm' Remote Information Leak | 2007-05-08 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934
- http://lists.vmware.com/pipermail/security-announce/2008/000005.html
- http://secunia.com/advisories/25190
- http://secunia.com/advisories/25217
- http://secunia.com/advisories/25233
- http://secunia.com/advisories/25353
- http://secunia.com/advisories/25787
- http://secunia.com/advisories/28027
- http://secunia.com/advisories/28050
- http://secunia.com/advisories/29032
- http://secunia.com/advisories/29303
- http://secunia.com/advisories/29889
- http://secunia.com/advisories/31255
- http://secunia.com/advisories/31492
- http://secunia.com/advisories/37471
- http://www.debian.org/security/2008/dsa-1551
- http://www.debian.org/security/2008/dsa-1620
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:099
- http://www.novell.com/linux/security/advisories/2007_13_sr.html
- http://www.python.org/download/releases/2.5.1/NEWS.txt
→ the Explorer · watch your stack · NVD