Skip to content
Fencer Vulns
critical 10.0

CVE-2004-0981 json

Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary code via a certain ima…

published 2004-11-19 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0979

cvss
10.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.8%
EPSS 5.8% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary code via a certain image file.

Patch / fix

  • imagemagick Debian 14, Debian 13, Debian 12 6:6.0.6.2-1.5
  • graphicsmagick Debian 14, Debian 13, Debian 12 1.1.7-1

debian advisories DEBIAN-CVE-2004-0981

  • ImageMagick RHEL 3 5.5.6-7
  • ImageMagick-c++ RHEL 3 5.5.6-7
  • ImageMagick-perl RHEL 3 5.5.6-7

red hat advisories RHSA-2004:636

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-2004-0981 updated

security flaw

  • Red Hat Desktop version 3 ImageMagick 5.5.6-7, ImageMagick-c++ 5.5.6-7, ImageMagick-perl 5.5.6-7 Red Hat Enterprise Linux AS version 3 ImageMagick 5.5.6-7, ImageMagick-c++ 5.5.6-7, ImageMagick-perl 5.5.6-7 Red Hat Enterprise Linux ES version 3 ImageMagick 5.5.6-7, ImageMagick-c++ 5.5.6-7, ImageMagick-perl 5.5.6-7 Red Hat Enterprise Linux WS version 3 ImageMagick 5.5.6-7, ImageMagick-c++ 5.5.6-7, ImageMagick-perl 5.5.6-7
    fixed: vendor fix RHSA-2004:636

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

Exploit prediction

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

CVSS scores

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

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.

CPEs and fixed versions use Anchore's correction of NVD's data: Fix old broken CPEs.