CVE-2007-2052Python
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 14.1% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Apr 16, 2007
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-193
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | 2.4.0 |
| python | python | 2.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Third Party Advisory
- lists.vmware.com Third Party Advisory
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link Third Party Advisory
- www.novell.com Third Party Advisory
- www.python.org Broken Link Vendor Advisory
- www.redhat.com Third Party Advisory
- www.redhat.com Third Party Advisory
- www.redhat.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- www.trustix.org Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.vmware.com Broken Link Third Party Advisory
- www.vupen.com Broken Link Third Party Advisory
- www.vupen.com Broken Link Third Party Advisory
- www.vupen.com Broken Link Third Party Advisory
- bugzilla.redhat.com Issue Tracking
- exchange.xforce.ibmcloud.com VDB Entry
- issues.rpath.com Third Party Advisory
- oval.cisecurity.org Broken Link
- oval.cisecurity.org Broken Link