Back
CVE-2008-1887
Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size…
High9.3EPSS 6.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 6.3% · top 6.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Weakness
Affected products
n/a
- affected n/a
References (27)
- SUSE-SR:2008:017 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://bugs.python.org/issue2587 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-200807-01 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 30872 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20090824 rPSA-2009-0122-1 idle python (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 33937 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:8624 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 37471 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- python-pystringfromstringandsize-bo(41944) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 31687 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:10407 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 20080411 IOActive Security Advisory: Incorrect input validation in PyString_FromStringAndSize() leads to multiple buffer overflows (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-1551 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.apple.com/kb/HT3438 (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2009-02-12 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28749 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- USN-632-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 31518 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31365 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31255 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1620 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- ADV-2009-3316 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 29889 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-1887)Record last updated .