Skip to content
Fencer Vulns
high 7.5

CVE-2005-0397 json

Format string vulnerability in the SetImageInfo function in image.c for ImageMagick before 6.0.2.5 may allow remote attackers to cause a de…

published 2005-03-07 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-0398

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

Summary

Format string vulnerability in the SetImageInfo function in image.c for ImageMagick before 6.0.2.5 may allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via format string specifiers in a filename argument to convert, which may be called by other web applications.

Patch / fix

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

debian advisories DEBIAN-CVE-2005-0397

  • ImageMagick RHEL 3 5.5.6-13
  • ImageMagick-c++ RHEL 3 5.5.6-13
  • ImageMagick-perl RHEL 3 5.5.6-13
  • ImageMagick RHEL 4 6.0.7.1-10
  • ImageMagick-c++ RHEL 4 6.0.7.1-10
  • ImageMagick-perl RHEL 4 6.0.7.1-10

red hat advisories RHSA-2005:070RHSA-2005:320

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-2005-0397 updated

security flaw

  • Red Hat Desktop version 3 ImageMagick 5.5.6-13, ImageMagick-c++ 5.5.6-13, ImageMagick-perl 5.5.6-13 Red Hat Enterprise Linux AS version 3 ImageMagick 5.5.6-13, ImageMagick-c++ 5.5.6-13, ImageMagick-perl 5.5.6-13
    fixed: vendor fix RHSA-2005:070
  • Red Hat Enterprise Linux AS version 4 ImageMagick 6.0.7.1-10, ImageMagick-c++ 6.0.7.1-10, ImageMagick-perl 6.0.7.1-10 Red Hat Enterprise Linux Desktop version 4 ImageMagick 6.0.7.1-10, ImageMagick-c++ 6.0.7.1-10, ImageMagick-perl 6.0.7.1-10
    fixed: vendor fix RHSA-2005:320
  • Red Hat Enterprise Linux ES version 3 ImageMagick 5.5.6-13, ImageMagick-c++ 5.5.6-13, ImageMagick-perl 5.5.6-13
    fixed: vendor fix RHSA-2005:070
  • Red Hat Enterprise Linux ES version 4 ImageMagick 6.0.7.1-10, ImageMagick-c++ 6.0.7.1-10, ImageMagick-perl 6.0.7.1-10
    fixed: vendor fix RHSA-2005:320
  • Red Hat Enterprise Linux WS version 3 ImageMagick 5.5.6-13, ImageMagick-c++ 5.5.6-13, ImageMagick-perl 5.5.6-13
    fixed: vendor fix RHSA-2005:070
  • Red Hat Enterprise Linux WS version 4 ImageMagick 6.0.7.1-10, ImageMagick-c++ 6.0.7.1-10, ImageMagick-perl 6.0.7.1-10
    fixed: vendor fix RHSA-2005:320

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

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

CVSS scores

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

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.