7.5
CWE
120 119
Advisory Published
Updated

CVE-2008-3142: Buffer Overflow

First published: Fri Aug 01 2008(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python 2.7<2.4.6
Python 2.7>=2.5.0<2.5.3
Ubuntu=7.04
Ubuntu=7.10
Ubuntu=8.04
Ubuntu=6.06
Debian Linux=4.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2008-3142?

    CVE-2008-3142 is classified as high severity due to multiple buffer overflow vulnerabilities that can lead to denial of service or other impacts.

  • How do I fix CVE-2008-3142?

    To fix CVE-2008-3142, upgrade to Python version 2.5.3 or later, or ensure your system is using a patched version.

  • Which software versions are affected by CVE-2008-3142?

    CVE-2008-3142 affects Python 2.5.2 and earlier, particularly on 32-bit platforms and some specific versions of Ubuntu and Debian Linux.

  • Can CVE-2008-3142 be exploited remotely?

    Yes, CVE-2008-3142 can be exploited by context-dependent attackers through specially crafted long strings.

  • What types of attacks can CVE-2008-3142 facilitate?

    CVE-2008-3142 can result in denial of service attacks by crashing the software, with potential for other unspecified impacts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203