Description
A vulnerability was discovered in ImageMagick where a specially created SVG file loads itself and causes a segmentation fault. This flaw allows a remote attacker to pass a specially crafted SVG file that leads to a segmentation fault, generating many trash files in "/tmp," resulting in a denial of service. When ImageMagick crashes, it generates a lot of trash files. These trash files can be large if the SVG file contains many render actions. In a denial of service attack, if a remote attacker uploads an SVG file of size t, ImageMagick generates files of size 103*t. If an attacker uploads a 100M SVG, the server will generate about 10G.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ImageMagick | Fixed-in ImageMagick v7.1.1-0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.9.12.98+dfsg1-2 | — |
| Debian 13 | imagemagick | 8:6.9.12.98+dfsg1-2 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u1 | DSA-5628-1 |
| Debian 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u3 | DSA-5628-1 |
| Debian 10 | imagemagick | 8:6.9.10.23+dfsg-2.1+deb10u6 | DLA-3737-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.6ubuntu1 | — |
| Ubuntu 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 | USN-6200-2 |
| Ubuntu 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.10 | USN-6200-2, USN-6200-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 | USN-6200-1 |
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm1 | USN-6200-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm8 | USN-6200-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | ImageMagick | 7.1.0.9-150400.6.15.1 | SUSE-SU-2023:1733-1 |
| SLES 15 SP1 | ImageMagick | 7.0.7.34-150000.3.123.1 | SUSE-SU-2023:4634-1 |
| SLES 12 SP5 | ImageMagick | 6.8.8.1-71.186.1 | SUSE-SU-2023:1734-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | ImageMagick | 7.0.7.34-150000.3.123.1 | SUSE-SU-2023:4634-1 |
| SLES for SAP 12 SP5 | ImageMagick | 6.8.8.1-71.186.1 | SUSE-SU-2023:1734-1 |
| SLE Real Time 15 SP3 | ImageMagick | 7.0.7.34-150200.10.45.1 | SUSE-SU-2023:1756-1 |
| SLE HPC 15 SP1 | ImageMagick | 7.0.7.34-150000.3.123.1 | SUSE-SU-2023:4634-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.1.17-1.1 | openSUSE-SU-2024:13263-1 |
| openSUSE Leap 15.4 | ImageMagick | 7.0.7.34-150200.10.45.1 | SUSE-SU-2023:1756-1, SUSE-SU-2023:1733-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ImageMagick +6 | 1:6.9.12.82-1.amzn2023.0.1 | ALAS2023-2023-150 |
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.97-1.amzn2.0.1 | ALAS2-2023-2014 |
Affected packages
Advisories 12
- USN-6200-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6200-2 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- WID-SEC-2023-0615 ImageMagick: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Mar 12, 2026
- DSA-5628-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3737-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:1734-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13263-1 ImageMagick-7.1.1.17-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1733-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1756-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4634-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2023-2014 Moderate: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 20, 2023
- ALAS2023-2023-150 Moderate: ImageMagick security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 4, 2023
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr
- https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4
- [debian-lts-announce] 20240222 [SECURITY] [DLA 3737-1] imagemagick security update mailing-list