Description
A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. The highest threat from this vulnerability is to system availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ImageMagick | 6.9.11-57, 7.0.10-57 | — |
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.11.57+dfsg-1 | — |
| Debian 13 | imagemagick | 8:6.9.11.57+dfsg-1 | — |
| Debian 12 | imagemagick | 8:6.9.11.57+dfsg-1 | — |
| Debian 10 | imagemagick | 8:6.9.10.23+dfsg-2.1+deb10u5 | DLA-3429-1 |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u12 | DLA-2602-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.4 | USN-4988-1 |
| Ubuntu 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.11 | USN-4988-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm2 | USN-5335-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm12 | USN-7164-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | ImageMagick | 7.0.7.34-10.18.1 | SUSE-SU-2021:3996-1 |
| SLES 15 SP2 | ImageMagick | 7.0.7.34-10.18.1 | SUSE-SU-2021:3996-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.159.2 | SUSE-SU-2021:0528-1 |
Show 3 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.159.2 | SUSE-SU-2021:0528-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 Leap 15.3 | ImageMagick | 7.0.7.34-10.18.1 | openSUSE-SU-2021:3996-1 |
| openSUSE Leap 15.2 | ImageMagick | 7.0.7.34-lp152.12.18.1 | openSUSE-SU-2021:1583-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.23 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.22 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.21 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.20 | imagemagick | 7.0.10.57-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.18 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.17 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.16 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.15 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.14 | imagemagick | 7.0.10.57-r0 | — |
| Alpine v3.13 | imagemagick | 7.0.10.57-r0 | — |
Advisories 11
- USN-5335-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-4988-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-7164-1 imagemagick vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3429-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2602-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:3996-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3996-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1583-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0528-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
- WID-SEC-2022-1572 ImageMagick: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Dec 16, 2024