Security mailing lists by PureSourceCode

CVE-2008-1887

HIGH 9.3CVSS 2.0

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.

Published
18 Apr 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-120
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
<= 2.5.2
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
= 6.06
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
= 7.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
= 7.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
= 8.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
= 4.0

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 18 Apr 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.