Description
ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-15 | — |
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:7.1.2.15+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 | DSA-6158-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | imagemagick | 8:7.1.2.3+dfsg1-1ubuntu0.1 | USN-8263-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9 | USN-8263-1 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10 | USN-8263-1 |
| Ubuntu Pro 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10 | USN-8263-1 |
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm12 | USN-8263-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm20 | USN-8263-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm21 | USN-8263-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.15-1.1 | openSUSE-SU-2026:10267-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.6.1 | openSUSE-SU-2026:20337-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | imagemagick | 7.1.2.15-r0 | — |
| Alpine v3.23 | imagemagick | 7.1.2.15-r0 | — |
| Alpine v3.22 | imagemagick | 7.1.2.15-r0 | — |
Affected packages
Advisories 6
- USN-8263-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- WID-SEC-2026-0484 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2026
- VDE-2026-021 WAGO: Multiple Vulnerabilities in WAGO VC Hub CERT@VDE · Mar 30, 2026
- DSA-6158-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 23, 2026
- openSUSE-SU-2026:20337-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10267-1 ImageMagick-7.1.2.15-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026