CVE-2005-0397

CVE-2005-0397 is a high-severity vulnerability in Imagemagick with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is CVE-2005-0397?
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.
How severe is CVE-2005-0397?
CVE-2005-0397 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2005-0397 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2005-0397?
CVE-2005-0397 primarily affects Imagemagick. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2005-0397?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2005-0397 published?
CVE-2005-0397 was published on 2005-05-02 and last updated on 2026-06-16.

References

Affected products (4)

More vulnerabilities in Imagemagick

All CVEs affecting Imagemagick →