CVE-2008-3142Python
High 7.5 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Aug 1, 2008
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (crash) or have unspecified other impact via a long string that leads to incorrect memory allocation during Unicode string processing, related to the unicode_resize function and the PyMem_RESIZE macro.
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.6 |
| python | python | ≥ 2.5.0 < 2.5.3 |
| canonical | ubuntu_linux | 6.06 |
| canonical | ubuntu_linux | 7.04 |
| canonical | ubuntu_linux | 7.10 |
| canonical | ubuntu_linux | 8.04 |
| debian | debian_linux | 4.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gentoo.org Issue Tracking Third Party Advisory
- bugs.python.org Exploit Issue Tracking Third Party Advisory
- bugs.python.org Issue Tracking Third Party Advisory
- lists.apple.com Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- security.gentoo.org Third Party Advisory
- slackware.com Third Party Advisory
- support.apple.com Third Party Advisory
- wiki.rpath.com Broken Link
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.novell.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.ubuntu.com Third Party Advisory
- www.vmware.com Third Party Advisory
- www.vupen.com Permissions Required
- www.vupen.com Permissions Required
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- oval.cisecurity.org Third Party Advisory
- oval.cisecurity.org Third Party Advisory