cve.bz

CVE-2007-4988

7.8 highExploit referenceEPSS 3.1%Fix available

High (7.8). EPSS 3.1% estimated probability of exploitation activity in the next 30 days.

On this page
Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted width value in an image file, which triggers an integer overflow and a heap-based buffer overflow.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-681 Incorrect Conversion between Numeric Types
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2007-4988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-4988?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-4988?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-4988 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagickbefore 6.3.5-9
canonical:ubuntu_linux6.06
canonical:ubuntu_linux6.10
canonical:ubuntu_linux7.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0graphicsmagick1.1.7-13+etch1DSA-1903-1
Debian4.0imagemagick7:6.2.4.5.dfsg1-0.15+etch1DSA-1858-1
Debian5.0graphicsmagick1.1.11-3.2+lenny1DSA-1903-1
Debian5.0imagemagick7:6.2.4.5.dfsg1-1+lenny1DTSA-63-1
Debian5.0imagemagick7:6.3.7.9.dfsg2-1~lenny3DSA-1858-1
Debian12, 13, 14graphicsmagick1.1.11-1DEBIAN-CVE-2007-4988
Debian12, 13, 14imagemagick7:6.2.4.5.dfsg1-2DEBIAN-CVE-2007-4988
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moreImageMagick, ImageMagick-c++, ImageMagick-perl and 3 more0:5.5.6-28RHSA-2008:0145
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moreImageMagick, ImageMagick-c++, ImageMagick-perl and 3 more0:6.0.7.1-17.el4_6.1RHSA-2008:0145
Red Hatenterprise_linux:5::clientImageMagick, ImageMagick-c++, ImageMagick-perl and 1 more0:6.2.8.0-4.el5_1.1RHSA-2008:0145
Red Hatenterprise_linux:5::client_workstationImageMagick, ImageMagick-devel, ImageMagick-c++-devel and 1 more0:6.2.8.0-4.el5_1.1RHSA-2008:0145
Red Hatenterprise_linux:5::serverImageMagick, ImageMagick-c++, ImageMagick-perl and 3 more0:6.2.8.0-4.el5_1.1RHSA-2008:0145
openSUSETumbleweedGraphicsMagick1.3.36-1.7openSUSE-SU-2024:10596-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3ImageMagick-0:5.5.6-28Fixed 2008-04-17RHSA-2008:0145
Red Hat Enterprise Linux 4ImageMagick-0:6.0.7.1-17.el4_6.1Fixed 2008-04-17RHSA-2008:0145
Red Hat Enterprise Linux 5ImageMagick-0:6.2.8.0-4.el5_1.1Fixed 2008-04-17RHSA-2008:0145

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-4988.

References

Check your stackJSON