Skip to content
CVE Tracker
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

CVSS scores of CVE-2008-1887, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0High9.3AV: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)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2008-1887 badge
[![CVE-2008-1887](https://trackcve.app/badge/CVE-2008-1887.svg)](https://trackcve.app/cve/CVE-2008-1887)

Record last updated .