Format string vulnerability in the SetImageInfo function in image.c for ImageMagick…
Priority MEDIUM 40Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
EPSS 0.04219 91st percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:imagemagick:imagemagick:5.2:*:*:*:*:*:*:* | 5.2 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:5.3:*:*:*:*:*:*:* | 5.3 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:5.4:*:*:*:*:*:*:* | 5.4 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:5.5:*:*:*:*:*:*:* | 5.5 | Vulnerable | ImageMagick |
- cpe:2.3:a:imagemagick:imagemagick:5.2:*:*:*:*:*:*:* Versions 5.2 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:5.3:*:*:*:*:*:*:* Versions 5.3 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:5.4:*:*:*:*:*:*:* Versions 5.4 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:5.5:*:*:*:*:*:*:* Versions 5.5 Vulnerable ·ImageMagick
Remediation
Red Hat 2 advisories
- RHSA-2005:070 Released 2005-03-23 · Red Hat rating ModerateImageMagick security update
- Red Hat Desktop version 3 ImageMagick-5.5.6-13, ImageMagick-5.5.6-13.i386, ImageMagick-c++-5.5.6-13 +7
- Red Hat Enterprise Linux AS version 3 ImageMagick-5.5.6-13, ImageMagick-5.5.6-13.i386, ImageMagick-5.5.6-13.ia64 +17
- Red Hat Enterprise Linux ES version 3 ImageMagick-5.5.6-13, ImageMagick-5.5.6-13.i386, ImageMagick-5.5.6-13.ia64 +12
- Red Hat Enterprise Linux WS version 3 ImageMagick-5.5.6-13, ImageMagick-5.5.6-13.i386, ImageMagick-5.5.6-13.ia64 +12
- RHSA-2005:320 Released 2005-03-23 · Red Hat rating ModerateImageMagick security update
- Red Hat Enterprise Linux AS version 4 ImageMagick-6.0.7.1-10, ImageMagick-6.0.7.1-10.i386, ImageMagick-6.0.7.1-10.ia64 +17
- Red Hat Enterprise Linux Desktop version 4 ImageMagick-6.0.7.1-10, ImageMagick-6.0.7.1-10.i386, ImageMagick-c++-6.0.7.1-10 +7
- Red Hat Enterprise Linux ES version 4 ImageMagick-6.0.7.1-10, ImageMagick-6.0.7.1-10.i386, ImageMagick-6.0.7.1-10.ia64 +12
- Red Hat Enterprise Linux WS version 4 ImageMagick-6.0.7.1-10, ImageMagick-6.0.7.1-10.i386, ImageMagick-6.0.7.1-10.ia64 +12
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:070 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:070 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:320 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:320 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:070 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:320 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:070 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:320 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-0397
- 2026-10-03 Alias added: GHSA-9qw2-jqcg-348f
References
More Imagemagick vulnerabilities
- TI-2016-03144 The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT… KEVCVSS 3.1HIGH 8.4
- TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
- TI-2016-03148 The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1… KEVCVSS 3.1MEDIUM 5.5
- TI-2016-03145 The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote… KEVCVSS 3.1MEDIUM 5.5
- TI-2025-35690 ImageMagick BlobStream Forward-Seek Under-Allocation CVSS 3.1CRITICAL 9.8
- TI-2025-33094 ImageMagick has Stack Buffer Overflow in image.c CVSS 3.1CRITICAL 9.8
Sources
- CVE-2005-0397 · CVE Program
- CVE-2005-0397 · NVD
- FIRST EPSS
- GHSA-9qw2-jqcg-348f · GitHub Advisory Database · CC BY 4.0
- CVE-2005-0397 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences