
CVE catalog
CVE-2005-0397
imagemagick: CVE-2005-0397
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.22% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | imagemagick | sid | 8:7.1.2.34+dfsg1-1 | fixed |
| Debian | imagemagick | forky | 8:7.1.2.31+dfsg1-1 | fixed |
| Debian | imagemagick | trixie | 8:7.1.1.43+dfsg1-1+deb13u12 | fixed |
| Debian | imagemagick | trixie-security | 8:7.1.1.43+dfsg1-1+deb13u11 | fixed |
| Debian | imagemagick | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u11 | fixed |
| Debian | imagemagick | bookworm-security | 8:6.9.11.60+dfsg-1.6+deb12u14 | fixed |
| Debian | graphicsmagick | sid | 1.4+really1.3.49-1 | fixed |
| Debian | graphicsmagick | forky | 1.4+really1.3.49-1 | fixed |
| Debian | graphicsmagick | trixie | 1.4+really1.3.45+hg17696-1 | fixed |
| Debian | graphicsmagick | bookworm | 1.4+really1.3.40-4+deb12u1 | fixed |
| Debian | graphicsmagick | bookworm-security | 1.4+really1.3.40-4+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | imagemagick | source | sid | 6:6.0.6.2-2.2 | not yet assigned | Not reported | [297990] |
| Debian | imagemagick | source | forky | 6:6.0.6.2-2.2 | not yet assigned | Not reported | [297990] |
| Debian | imagemagick | source | trixie | 6:6.0.6.2-2.2 | not yet assigned | Not reported | [297990] |
| Debian | imagemagick | source | bookworm | 6:6.0.6.2-2.2 | not yet assigned | Not reported | [297990] |
| Debian | graphicsmagick | source | sid | 1.1.7-1 | not yet assigned | Not reported | Not reported |
| Debian | graphicsmagick | source | forky | 1.1.7-1 | not yet assigned | Not reported | Not reported |
| Debian | graphicsmagick | source | trixie | 1.1.7-1 | not yet assigned | Not reported | Not reported |
| Debian | graphicsmagick | source | bookworm | 1.1.7-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [graphicsmagick]Unknown
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-dbg]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-imagemagick-compat]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-libmagick-dev-compat]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [imagemagick]Unknown
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16hdri]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libgraphicsmagick++1-dev]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick1-dev]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphics-magick-perl]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick++-q16-12]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick-q16-3]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.7-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libimage-magick-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16hdri-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6-headers]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
6:6.0.6.2-2.2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
Observed:
References
- [https://access.redhat.com/errata/RHSA-2005:070]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2005-0397]
- [https://osv.dev/vulnerability/DSA-702-1]
- [https://security-tracker.debian.org/tracker/CVE-2005-0397]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]