CVE-2008-1887
HIGH · CVSS 9.3EPSS 6.3%EU EUVD
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.
Key facts
- CVSS score
- 9.3 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-120
- EPSS score
- 6.3% (94th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-1887)
- Published
- April 18, 2008
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-1887 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- debian / debian linux
- python / python
References
- http://bugs.python.org/issue2587(Exploit, Issue Tracking, Vendor Advisory)
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html(Mailing List, Third Party Advisory)
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html(Mailing List, Third Party Advisory)
- http://secunia.com/advisories/29889(Not Applicable)
- http://secunia.com/advisories/30872(Not Applicable)
- http://secunia.com/advisories/31255(Not Applicable)
- http://secunia.com/advisories/31365(Not Applicable)
- http://secunia.com/advisories/31518(Not Applicable)
- http://secunia.com/advisories/31687(Not Applicable)
- http://secunia.com/advisories/33937(Not Applicable)
- http://secunia.com/advisories/37471(Not Applicable)
- http://security.gentoo.org/glsa/glsa-200807-01.xml(Third Party Advisory)
- http://support.apple.com/kb/HT3438(Third Party Advisory)
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122(Broken Link)
- http://www.debian.org/security/2008/dsa-1551(Patch, Third Party Advisory)
- http://www.debian.org/security/2008/dsa-1620(Patch, Third Party Advisory)
- http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900(Third Party Advisory)
- http://www.securityfocus.com/archive/1/490776(Exploit, Third Party Advisory, VDB Entry)
- http://www.securityfocus.com/archive/1/506056/100/0/threaded(Third Party Advisory, VDB Entry)
- http://www.securityfocus.com/archive/1/507985/100/0/threaded(Third Party Advisory, VDB Entry)
- http://www.securityfocus.com/bid/28749(Patch, Third Party Advisory, VDB Entry)
- http://www.ubuntu.com/usn/usn-632-1(Third Party Advisory)
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html(Third Party Advisory)
- http://www.vupen.com/english/advisories/2009/3316(Permissions Required)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41944(Third Party Advisory, VDB Entry)
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407(Third Party Advisory)
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624(Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain