CVEvulnerability

CVE-2008-1887

9.3 HIGH Published 2008-04-18 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-04-18
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
Weaknesses
CWE-120

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.

Affected configurations

• python python (<= 2.5.2) • canonical ubuntu linux 6.06 • canonical ubuntu linux 7.04 • canonical ubuntu linux 7.10 • canonical ubuntu linux 8.04 • debian debian linux 4.0

Related

Weakness · CWE (1)

  • CWE-120 Buffer Copy without Checking Size of Input weakness

References