CVE-2008-3142: Canonical Ubuntu Linux

High severity, CVSS 7.5. EPSS: 4.5% chance of exploitation in the next 30 days.

Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (crash) or have unspecified other impact via a long string that leads to incorrect memory allocation during Unicode string processing, related to the unicode_resize function and the PyMem_RESIZE macro.

Affected products

  • Canonical Ubuntu Linux: version 6.06 only; version 7.04 only; version 7.10 only; version 8.04 only
  • Debian Debian Linux: version 4.0 only
  • Python Python: before 2.4.6 (fixed in 2.4.6); from 2.5.0, before 2.5.3 (fixed in 2.5.3)

Published 2008-08-01. Last modified 2026-06-16.