# CVE-2005-0397

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2005-03-07 · Modified: 2024-08-07
- Aliases: RHSA-2005:320, DEBIAN-CVE-2005-0397
- Record: https://cvemate.com/vulnerability/CVE-2005-0397 · JSON: https://cvemate.com/vulnerability/CVE-2005-0397/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 4.219%, percentile 91.271%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian graphicsmagick (Debian): \< 1.1.7-1
- debian imagemagick (Debian): \< 6:6.0.6.2-2.2
- imagemagick imagemagick: 5.2 \| 5.3 \| 5.4 \| 5.5
- redhat ImageMagick (Red Hat): \< 0:6.0.7.1-10
- redhat ImageMagick-c++ (Red Hat): \< 0:6.0.7.1-10
- redhat ImageMagick-c++-devel (Red Hat): \< 0:6.0.7.1-10
- redhat ImageMagick-debuginfo (Red Hat): \< 0:6.0.7.1-10
- redhat ImageMagick-devel (Red Hat): \< 0:6.0.7.1-10
- redhat ImageMagick-perl (Red Hat): \< 0:6.0.7.1-10

## References

- <http://marc.info/?l=bugtraq&m=110987256010857&w=2>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/19586>
- <http://bugs.gentoo.org/show_bug.cgi?id=83542>
- <http://www.novell.com/linux/security/advisories/2005_17_imagemagick.html>
- <http://www.redhat.com/support/errata/RHSA-2005-320.html>
- <http://www.gentoo.org/security/en/glsa/glsa-200503-11.xml>
- <http://www.debian.org/security/2005/dsa-702>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10302>
- <http://www.redhat.com/support/errata/RHSA-2005-070.html>
- <https://access.redhat.com/errata/RHSA-2005:320>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=142045>
- <https://bugzilla.redhat.com/show_bug.cgi?id=150185>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_320.json>
- <https://access.redhat.com/security/cve/CVE-2005-0397>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1617515>
- <https://www.cve.org/CVERecord?id=CVE-2005-0397>
- <https://nvd.nist.gov/vuln/detail/CVE-2005-0397>
- <https://security-tracker.debian.org/tracker/CVE-2005-0397>

---

Data as of 2026-12-05T03:15:17.376Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
