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.
References (27)
Core 27
Core References
Mailing List, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
Exploit, Issue Tracking, Vendor Advisory x_refsource_confirm
http://bugs.python.org/issue2587
Third Party Advisory vendor-advisory
x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200807-01.xml
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30872
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/506056/100/0/threaded
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/33937
Third Party Advisory vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/37471
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/41944
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31687
Third Party Advisory vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407
Exploit, Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/490776
Patch, Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2008/dsa-1551
Third Party Advisory x_refsource_confirm
http://www.vmware.com/security/advisories/VMSA-2009-0016.html
Third Party Advisory x_refsource_confirm
http://support.apple.com/kb/HT3438
Mailing List, Third Party Advisory vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
Broken Link x_refsource_confirm
http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122
Patch, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/28749
Third Party Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-632-1
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/507985/100/0/threaded
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31518
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31365
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31255
Third Party Advisory x_refsource_confirm
http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900
Patch, Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2008/dsa-1620
Permissions Required vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2009/3316
Not Applicable third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/29889
Scores
EPSS
0.0275
EPSS Percentile
86.1%
Details
CWE
CWE-120
Status
published
Products (6)
canonical/ubuntu_linux
6.06
canonical/ubuntu_linux
7.04
canonical/ubuntu_linux
7.10
canonical/ubuntu_linux
8.04
debian/debian_linux
4.0
python/python
< 2.5.2
Published
Apr 18, 2008
Tracked Since
Feb 18, 2026