Skip to content
Fencer Vulns
high 7.5

CVE-2008-4864 in the critical feed json

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…

published 2008-10-31 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-4843

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
21.0%
EPSS 21.0% chance of exploitation in 30 days, percentile 97%
public exploits
2
Exploit-DB

Summary

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.

Patch / fix

  • python python 2.4.6, 2.5.3
  • python RHEL 3 2.2.3-6.11
  • tkinter RHEL 3 2.2.3-6.11
  • python-tools RHEL 3 2.2.3-6.11
  • python RHEL 4 2.3.4-14.7.el4_8.2
  • tkinter RHEL 4 2.3.4-14.7.el4_8.2
  • python-tools RHEL 4 2.3.4-14.7.el4_8.2
  • python RHEL 5 2.4.3-24.el5_3.6
  • tkinter RHEL 5 2.4.3-24.el5_3.6

red hat advisories RHSA-2009:1178RHSA-2009:1177RHSA-2009:1176

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2008-4864 updated

python: imageop module multiple integer overflows

  • Red Hat Desktop version 3 python 2.2.3-6.11, tkinter 2.2.3-6.11, python-tools 2.2.3-6.11
    fixed: vendor fix RHSA-2009:1178
  • Red Hat Enterprise Linux (v. 5 server) python 2.4.3-24.el5_3.6, tkinter 2.4.3-24.el5_3.6, python-tools 2.4.3-24.el5_3.6
    fixed: vendor fix RHSA-2009:1176
  • Red Hat Enterprise Linux AS version 3 python 2.2.3-6.11, tkinter 2.2.3-6.11, python-tools 2.2.3-6.11
    fixed: vendor fix RHSA-2009:1178
  • Red Hat Enterprise Linux AS version 4 python 2.3.4-14.7.el4_8.2, tkinter 2.3.4-14.7.el4_8.2, python-tools 2.3.4-14.7.el4_8.2
    fixed: vendor fix RHSA-2009:1177
  • Red Hat Enterprise Linux Desktop (v. 5 client) python 2.4.3-24.el5_3.6, tkinter 2.4.3-24.el5_3.6, python-tools 2.4.3-24.el5_3.6
    fixed: vendor fix RHSA-2009:1176
  • Red Hat Enterprise Linux Desktop version 4 python 2.3.4-14.7.el4_8.2, tkinter 2.3.4-14.7.el4_8.2, python-tools 2.3.4-14.7.el4_8.2
    fixed: vendor fix RHSA-2009:1177
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) python 2.4.3-24.el5_3.6, tkinter 2.4.3-24.el5_3.6, python-tools 2.4.3-24.el5_3.6
    fixed: vendor fix RHSA-2009:1176
  • Red Hat Enterprise Linux ES version 3 python 2.2.3-6.11, tkinter 2.2.3-6.11, python-tools 2.2.3-6.11
    fixed: vendor fix RHSA-2009:1178
show 3 more
  • Red Hat Enterprise Linux ES version 4 python 2.3.4-14.7.el4_8.2, tkinter 2.3.4-14.7.el4_8.2, python-tools 2.3.4-14.7.el4_8.2
    fixed: vendor fix RHSA-2009:1177
  • Red Hat Enterprise Linux WS version 3 python 2.2.3-6.11, tkinter 2.2.3-6.11, python-tools 2.2.3-6.11
    fixed: vendor fix RHSA-2009:1178
  • Red Hat Enterprise Linux WS version 4 python 2.3.4-14.7.el4_8.2, tkinter 2.3.4-14.7.el4_8.2, python-tools 2.3.4-14.7.el4_8.2
    fixed: vendor fix RHSA-2009:1177

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-32534)
  2. Published

Exploit prediction

21.02% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-32534 Python 2.5.2 - 'Imageop' Module Argument Validation Buffer Overflow dos, 2008-10-27
  • EDB-10229 Python < 2.5.2 Imageop Module - 'imageop.crop()' Buffer Overflow dos, 2009-11-24
  • scary.beasts.org http://scary.beasts.org/security/CESA-2008-008.html referenced PoC, tagged "exploit" by a source, unverified
  • securityfocus.com http://www.securityfocus.com/bid/31976 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.