CVE-2008-1887

Summary

CVECVE-2008-1887
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-04-18 17:05:00 UTC
Updated2022-06-27 16:33:00 UTC
DescriptionPython 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.

Risk And Classification

Problem Types: CWE-120

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 6.06 All All All
Operating System Canonical Ubuntu Linux 7.04 All All All
Operating System Canonical Ubuntu Linux 7.10 All All All
Operating System Canonical Ubuntu Linux 8.04 All All All
Operating System Debian Debian Linux 4.0 All All All
Application Python Python All All All All
Application Python Software Foundation Python 1.5.2 All All All
Application Python Software Foundation Python 1.6 All All All
Application Python Software Foundation Python 1.6.1 All All All
Application Python Software Foundation Python 2.0 All All All
Application Python Software Foundation Python 2.0.1 All All All
Application Python Software Foundation Python 2.1 All All All
Application Python Software Foundation Python 2.1.1 All All All
Application Python Software Foundation Python 2.1.2 All All All
Application Python Software Foundation Python 2.1.3 All All All
Application Python Software Foundation Python 2.2 All All All
Application Python Software Foundation Python 2.2.1 All All All
Application Python Software Foundation Python 2.2.2 All All All
Application Python Software Foundation Python 2.2.3 All All All
Application Python Software Foundation Python 2.3 All All All
Application Python Software Foundation Python 2.3.1 All All All
Application Python Software Foundation Python 2.3.2 All All All
Application Python Software Foundation Python 2.3.3 All All All
Application Python Software Foundation Python 2.3.4 All All All
Application Python Software Foundation Python 2.3.5 All All All
Application Python Software Foundation Python 2.3.6 All All All
Application Python Software Foundation Python 2.4 All All All
Application Python Software Foundation Python 2.4.1 All All All
Application Python Software Foundation Python 2.4.2 All All All
Application Python Software Foundation Python 2.4.3 All All All
Application Python Software Foundation Python 2.4.4 All All All
Application Python Software Foundation Python 2.5 All All All
Application Python Software Foundation Python 2.5.1 All All All
Application Python Software Foundation Python 2.5_alpha_1 All All All
Application Python Software Foundation Python 2.5_alpha_2 All All All
Application Python Software Foundation Python 2.5_beta_1 All All All
Application Python Software Foundation Python 2.5_beta_2 All All All
Application Python Software Foundation Python 2.5_beta_3 All All All
Application Python Software Foundation Python 2.5_final All All All
Application Python Software Foundation Python 2.5_release_candidate_1 All All All
Application Python Software Foundation Python 2.5_release_candidate_2 All All All
Application Python Software Foundation Python 1.5.2 All All All
Application Python Software Foundation Python 1.6 All All All
Application Python Software Foundation Python 1.6.1 All All All
Application Python Software Foundation Python 2.0 All All All
Application Python Software Foundation Python 2.0.1 All All All
Application Python Software Foundation Python 2.1 All All All
Application Python Software Foundation Python 2.1.1 All All All
Application Python Software Foundation Python 2.1.2 All All All
Application Python Software Foundation Python 2.1.3 All All All
Application Python Software Foundation Python 2.2 All All All
Application Python Software Foundation Python 2.2.1 All All All
Application Python Software Foundation Python 2.2.2 All All All
Application Python Software Foundation Python 2.2.3 All All All
Application Python Software Foundation Python 2.3 All All All
Application Python Software Foundation Python 2.3.1 All All All
Application Python Software Foundation Python 2.3.2 All All All
Application Python Software Foundation Python 2.3.3 All All All
Application Python Software Foundation Python 2.3.4 All All All
Application Python Software Foundation Python 2.3.5 All All All
Application Python Software Foundation Python 2.3.6 All All All
Application Python Software Foundation Python 2.4 All All All
Application Python Software Foundation Python 2.4.1 All All All
Application Python Software Foundation Python 2.4.2 All All All
Application Python Software Foundation Python 2.4.3 All All All
Application Python Software Foundation Python 2.4.4 All All All
Application Python Software Foundation Python 2.5 All All All
Application Python Software Foundation Python 2.5.1 All All All
Application Python Software Foundation Python 2.5_alpha_1 All All All
Application Python Software Foundation Python 2.5_alpha_2 All All All
Application Python Software Foundation Python 2.5_beta_1 All All All
Application Python Software Foundation Python 2.5_beta_2 All All All
Application Python Software Foundation Python 2.5_beta_3 All All All
Application Python Software Foundation Python 2.5_final All All All
Application Python Software Foundation Python 2.5_release_candidate_1 All All All
Application Python Software Foundation Python 2.5_release_candidate_2 All All All
Application Python Software Foundation Python All All All All

References

ReferenceSourceLinkTags
Issue 2587: PyString_FromStringAndSize() to be considered unsafe - Python tracker CONFIRM bugs.python.org Exploit
Repository / Oval Repository OVAL oval.cisecurity.org
Python: Multiple integer overflows — Gentoo Linux Documentation GENTOO security.gentoo.org
APPLE-SA-2009-02-12 Security Update 2009-001 APPLE lists.apple.com
Ubuntu update for python - Secunia Advisories - Vulnerability Intelligence - Secunia.com SECUNIA secunia.com Vendor Advisory
SUSE update for python - Advisories - Secunia SECUNIA secunia.com Vendor Advisory
USN-632-1: Python vulnerabilities | Ubuntu UBUNTU www.ubuntu.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com SECUNIA secunia.com Vendor Advisory
[security-announce] SUSE Security Summary Report SUSE-SR:2008:017 SUSE lists.opensuse.org
Gentoo update for python - Secunia Advisories - Vulnerability Intelligence - Secunia.com SECUNIA secunia.com Vendor Advisory
Debian -- Security Information -- DSA-1620-1 python2.5 DEBIAN www.debian.org Patch
Debian update for python2.5 - Secunia Advisories - Vulnerability Intelligence - Secunia.com SECUNIA secunia.com Vendor Advisory
wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 CONFIRM wiki.rpath.com
SecurityFocus BUGTRAQ www.securityfocus.com
Repository / Oval Repository OVAL oval.cisecurity.org
Support | Micro Focus CONFIRM www.novell.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH VUPEN www.vupen.com
Debian -- Security Information -- DSA-1551-1 python2.4 DEBIAN www.debian.org Patch
Python 'stringobject.c' Multiple Remote Buffer Overflow Vulnerabilities BID www.securityfocus.com Patch
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com SECUNIA secunia.com Vendor Advisory
SecurityFocus BUGTRAQ www.securityfocus.com Exploit
Debian update for python - Advisories - Secunia SECUNIA secunia.com Vendor Advisory
IBM X-Force Exchange XF exchange.xforce.ibmcloud.com
VMSA-2009-0016.1 CONFIRM www.vmware.com
About the security content of Security Update 2009-001 CONFIRM support.apple.com
SecurityFocus BUGTRAQ www.securityfocus.com
VMware ESX and vMA Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com SECUNIA secunia.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report