CVE-2026-25797
published medium CVSS 3.1 · 5.7ImageMagick vulnerable to Code injection via PostScript header in ps coders
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick>= 7.0.0, < 7.1.2-15 · < 6.9.13-40 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3211 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1478 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| Alpine Linux | edge | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Debian | bookworm | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.6+deb12u7 | DSA-6159-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.87.1 | SUSE-SU-2026:4376-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.76.1 | SUSE-SU-2026:3414-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.76.1 | SUSE-SU-2026:3414-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.76.1 | SUSE-SU-2026:3414-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.37.1 | SUSE-SU-2026:0851-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.76.1 | SUSE-SU-2026:3414-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.14.1 | SUSE-SU-2026:23312-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.14.1 | SUSE-SU-2026:23312-1 |
| SUSE / openSUSE | SLE-16 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.14.1 | SUSE-SU-2026:23312-1 |
| SUSE / openSUSE | SLE-16 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.14.1 | SUSE-SU-2026:23312-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.14.1 | OPENSUSE-SU-2026:21635-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.14.1 | OPENSUSE-SU-2026:21635-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.14.1 | OPENSUSE-SU-2026:21635-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.14.1 | OPENSUSE-SU-2026:21635-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.15-1.1 | OPENSUSE-SU-2026:10267-1 |
| Alpine Linux | v3.22 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.23 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Alpine Linux | v3.24 | imagemagick | Fixed | 7.1.2.15-r0 | Package fix record |
| Debian | bullseye | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.3+deb11u10 | DLA-4497-1 |
| Debian | trixie | imagemagick | Advisory build | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEx86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEx86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamx86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamx86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develx86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develx86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develx86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develx86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickWand-6_Q16-1x86_64 | Advisory build | 6.8.8.1-71.270.1 | SUSE-SU-2026:3412-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreams390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-config-7-upstreamx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-devels390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagick-develx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5s390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-7_Q16HDRI5x86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-devels390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagick++-develx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10s390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickCore-7_Q16HDRI10x86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10aarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10ppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10s390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | libMagickWand-7_Q16HDRI10x86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-PerlMagickaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-PerlMagickppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-PerlMagicks390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-PerlMagickx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagick-config-7-SUSEaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagick-config-7-SUSEppc64le | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagick-config-7-SUSEs390x | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagick-config-7-SUSEx86_64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagick-config-7-upstreamaarch64 | Advisory build | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header. An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-15 (affected)< 6.9.13-40 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2GitHub_M · cna
ImageMagick vulnerable to Code injection via PostScript header in ps coders
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 582d456c06ee354908d096dea552127008a26f889a1e23dfb6b9d962fa8da6ea
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record