NetSight
critical9.3

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 t…

Impact

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 products

VendorProductAffected versions
PythonPython
through 2.5.2
CanonicalUbuntu Linux
Versions 6.06, 7.04, 7.10, 8.04
DebianDebian Linux
Version 4.0

Weakness classification

References