{"id":"CVE-2007-2052","aliases":["EDB-30018"],"kind":"cve","tier":"cold","status":"published","title":"Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect…","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.","ai_summary":null,"severity":"medium","cvss":{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD"},"scores":[{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-193"],"remote":true,"remote_unauth":true,"epss":{"score":0.14055,"percentile":0.96651,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[30018]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.python.org/download/releases/2.5.1/NEWS.txt","kind":"vendor"},{"url":"http://www.debian.org/security/2008/dsa-1551","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0629.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1077.html","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1076.html","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/usn-585-1","kind":"vendor"},{"url":"http://www.trustix.org/errata/2007/0019/","kind":"vendor"},{"url":"http://www.novell.com/linux/security/advisories/2007_13_sr.html","kind":"vendor"},{"url":"http://www.debian.org/security/2008/dsa-1620","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:099","kind":"vendor"},{"url":"https://www.exploit-db.com/exploits/30018","kind":"exploit"},{"url":"http://lists.vmware.com/pipermail/security-announce/2008/000005.html","kind":"other"},{"url":"http://secunia.com/advisories/28050","kind":"other"},{"url":"http://secunia.com/advisories/25190","kind":"other"},{"url":"http://secunia.com/advisories/25217","kind":"other"},{"url":"http://secunia.com/advisories/37471","kind":"other"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934","kind":"other"},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","kind":"other"},{"url":"http://secunia.com/advisories/29303","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2007/1465","kind":"other"},{"url":"http://secunia.com/advisories/29032","kind":"other"},{"url":"http://secunia.com/advisories/31492","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8353","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/469294/30/6450/threaded","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/488457/100/0/threaded","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/0637","kind":"other"},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093","kind":"other"},{"url":"http://secunia.com/advisories/25353","kind":"other"},{"url":"http://secunia.com/advisories/25233","kind":"other"},{"url":"https://issues.rpath.com/browse/RPL-1358","kind":"other"},{"url":"http://secunia.com/advisories/28027","kind":"other"},{"url":"http://secunia.com/advisories/31255","kind":"other"},{"url":"http://secunia.com/advisories/25787","kind":"other"},{"url":"http://www.securityfocus.com/bid/23887","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34060","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11716","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2009/3316","kind":"other"},{"url":"http://secunia.com/advisories/29889","kind":"other"}],"workarounds":null,"vendors":["python"],"products":["python"],"cpes":["cpe:2.3:a:python:python:2.4.0:*:*:*:*:*:*:*","cpe:2.3:a:python:python:2.5.0:*:*:*:*:*:*:*"],"published_at":"2007-04-16T22:00:00.000Z","modified_at":"2026-06-16T22:38:49.477Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2052"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/30018"}],"links":{"html":"https://flawdb.com/CVE-2007-2052","markdown":"https://flawdb.com/CVE-2007-2052.md","json":"https://flawdb.com/api/v1/entries/CVE-2007-2052"}}