{"id":"CVE-2008-1887","published":"2008-04-18T17:00:00Z","modified":"2024-08-07T08:40:59Z","title":"Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06292,"percentile":0.9376,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://bugs.python.org/issue2587","tags":["x_refsource_CONFIRM"]},{"url":"http://security.gentoo.org/glsa/glsa-200807-01.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/30872","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/506056/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/33937","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/37471","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41944","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/31687","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/archive/1/490776","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2008/dsa-1551","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM"]},{"url":"http://support.apple.com/kb/HT3438","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/28749","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.ubuntu.com/usn/usn-632-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/31518","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31365","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31255","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2008/dsa-1620","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/29889","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.75}]},"summary":{"text":"The flaw lies in Python 2.5.2 and earlier, where a negative size value passed to the PyString_FromStringAndSize function causes it to allocate less memory than expected when assert() is disabled. An attacker in a context-dependent position can trigger this through multiple vectors to cause a buffer overflow and execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:58Z"},"euvd":{"id":"EUVD-2008-1887","exploited":false,"provenance":"source"}}