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 value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.
Classic Buffer Overflow
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.3 UNKNOWN
NETWORK
MEDIUM
AV:N/AC:M/Au:N/C:C/I:C/A:C
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
VendorProductVersion
pythonpython
𝑥
≤ 2.5.2
canonicalubuntu_linux
6.06
canonicalubuntu_linux
7.04
canonicalubuntu_linux
7.10
canonicalubuntu_linux
8.04
debiandebian_linux
4.0
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python2.4
hardy
not-affected
gutsy
Fixed 2.4.4-6ubuntu4.2
released
feisty
Fixed 2.4.4-2ubuntu7.2
released
dapper
Fixed 2.4.3-0ubuntu6.2
released
python2.5
hardy
not-affected
gutsy
Fixed 2.5.1-5ubuntu5.2
released
feisty
Fixed 2.5.1-0ubuntu1.2
released
dapper
dne
References