CVE-2008-4864: Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break ou…
CVE-2008-4864 affects 21 listed versions of Python in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Python
21 of 250 listed versions are affected. Fixed in 2.5.3, 2.4.6. The newest release, 3.15.2, is not affected.
2.5.2 2.5.1 2.5.0 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.3 2.2.2 2.2.1 2.2 2.1.3 2.1.2
What it is
Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.
AV:N/AC:L/Au:N/C:P/I:P/A:P (NVD)
Published by MITRE on 1 November 2008. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2008-4864 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.