CWE
120 119
Advisory Published
Updated

CVE-2008-1887: Buffer Overflow

First published: Fri Apr 18 2008(Updated: )

Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python Babel Localedata<=2.5.2
Ubuntu Linux=6.06
Ubuntu Linux=7.04
Ubuntu Linux=7.10
Ubuntu Linux=8.04
Debian GNU/Linux=4.0
Maxthon<=2.5.2
Ubuntu=7.04
Ubuntu=7.10
Ubuntu=8.04
Ubuntu=6.06
Debian=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.

Frequently Asked Questions

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

    CVE-2008-1887 is classified as a critical vulnerability due to its potential to allow arbitrary code execution.

  • How do I fix CVE-2008-1887?

    To fix CVE-2008-1887, upgrade Python to version 2.5.3 or later, or apply relevant patches provided by your operating system.

  • What systems are affected by CVE-2008-1887?

    CVE-2008-1887 affects Python versions up to 2.5.2 and specific Ubuntu and Debian Linux distributions.

  • What are the consequences of exploiting CVE-2008-1887?

    Exploiting CVE-2008-1887 can lead to a buffer overflow, potentially allowing attackers to execute arbitrary code on the affected system.

  • Is CVE-2008-1887 still relevant today?

    While CVE-2008-1887 primarily affects outdated software, it is still relevant for environments using legacy systems that have not been updated.

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