CVE-2008-1887

Public Exploit

Description

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.

Category

9.3
CVSS
Severity: Critical
CVSS 2.0 •
EPSS 3.26% Top 15%
Vendor Advisory opensuse.org Vendor Advisory gentoo.org Vendor Advisory debian.org Vendor Advisory apple.com Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory python.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html mailing list third party advisory vendor advisory
http://bugs.python.org/issue2587 issue tracking exploit vendor advisory
http://security.gentoo.org/glsa/glsa-200807-01.xml third party advisory vendor advisory
http://secunia.com/advisories/30872 third party advisory not applicable
http://www.securityfocus.com/archive/1/506056/100/0/threaded mailing list vdb entry third party advisory
http://secunia.com/advisories/33937 third party advisory not applicable
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624 vdb entry third party advisory signature
http://secunia.com/advisories/37471 third party advisory not applicable
https://exchange.xforce.ibmcloud.com/vulnerabilities/41944 vdb entry third party advisory
http://secunia.com/advisories/31687 third party advisory not applicable
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407 vdb entry third party advisory signature
http://www.securityfocus.com/archive/1/490776 mailing list exploit vdb entry third party advisory
http://www.debian.org/security/2008/dsa-1551 third party advisory patch vendor advisory
http://www.vmware.com/security/advisories/VMSA-2009-0016.html third party advisory
http://support.apple.com/kb/HT3438 third party advisory
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html mailing list third party advisory vendor advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 broken link
http://www.securityfocus.com/bid/28749 vdb entry third party advisory patch
http://www.ubuntu.com/usn/usn-632-1 third party advisory vendor advisory
http://www.securityfocus.com/archive/1/507985/100/0/threaded mailing list vdb entry third party advisory
http://secunia.com/advisories/31518 third party advisory not applicable
http://secunia.com/advisories/31365 third party advisory not applicable
http://secunia.com/advisories/31255 third party advisory not applicable
http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900 third party advisory
http://www.debian.org/security/2008/dsa-1620 third party advisory patch vendor advisory
http://www.vupen.com/english/advisories/2009/3316 vdb entry permissions required
http://secunia.com/advisories/29889 third party advisory not applicable

Frequently Asked Questions

What is the severity of CVE-2008-1887?
CVE-2008-1887 has been scored as a critical severity vulnerability.
How to fix CVE-2008-1887?
To fix CVE-2008-1887, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2008-1887 being actively exploited in the wild?
It is possible that CVE-2008-1887 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~3% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.