CVE-2007-2052: Python - Out of Bounds Read
- Cve: CVE-2007-2052
- Name: Python - Out of Bounds Read
- 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.
- Impact: Attackers can read sensitive memory contents, potentially leading to information disclosure.
- Remediation: Update to the latest Python version where the issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
- Epss score: 0.14055
- Epss percentile: 0.96651
- Assignee: [email protected]
- Published at: 2007-04-16T22:19:00Z
- Age in days: 7162
- Modified at: 2026-06-16T22:38:49Z
- References total: 18
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-2052
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-193 | Off-by-one Error |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934 | Third Party Advisory |
| http://lists.vmware.com/pipermail/security-announce/2008/000005.html | Third Party Advisory |
| http://secunia.com/advisories/37471 | Third Party Advisory |
| http://www.debian.org/security/2008/dsa-1551 | Third Party Advisory |
| http://www.debian.org/security/2008/dsa-1620 | Third Party Advisory |
| http://www.novell.com/linux/security/advisories/2007_13_sr.html | Third Party Advisory |
| http://www.redhat.com/support/errata/RHSA-2007-1076.html | Third Party Advisory |
| http://www.redhat.com/support/errata/RHSA-2007-1077.html | Third Party Advisory |
| http://www.redhat.com/support/errata/RHSA-2008-0629.html | Third Party Advisory |
| http://www.securityfocus.com/archive/1/469294/30/6450/threaded | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | = 2.5.0, = 2.4.0 | no | nvd | /v1/products/python/python |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 5105513
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports