Servers and applications
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.
- Severity
- High 9.3
- Published
- 18 Apr 2008
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 6.3% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- Buffer overflow (CWE-120)
- Attack
- Over the network · No login needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
PythonServers and applications · cpe:a:python:python |
|