{"id":"CVE-2007-2052","published":"2007-04-16T22:00:00Z","modified":"2024-08-07T13:23:50Z","title":"Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.14055,"percentile":0.96646,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.vmware.com/pipermail/security-announce/2008/000005.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/28050","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25190","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25217","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/37471","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.python.org/download/releases/2.5.1/NEWS.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2008/dsa-1551","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/29303","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/1465","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/29032","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31492","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8353","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/archive/1/469294/30/6450/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0629.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1077.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/archive/1/488457/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1076.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.vupen.com/english/advisories/2008/0637","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/25353","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25233","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://issues.rpath.com/browse/RPL-1358","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/usn-585-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.trustix.org/errata/2007/0019/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://secunia.com/advisories/28027","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_13_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/31255","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2008/dsa-1620","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/25787","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/23887","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34060","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11716","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:099","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/29889","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-05-08"},"first":{"date":"2007-05-08","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/30018"},"provenance":"source"},"summary":{"text":"The flaw is an off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c, affecting Python 2.4 and 2.5. It causes an incorrect buffer size to be passed to strxfrm, and the missing null termination leads to a buffer over-read.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:59Z"},"euvd":{"id":"EUVD-2007-2047","exploited":false,"provenance":"source"},"exploits":[{"id":30018,"url":"https://www.exploit-db.com/exploits/30018","title":"Python 2.5 - 'PyLocale_strxfrm' Remote Information Leak","date":"2007-05-08","verified":true,"provenance":"source"}]}