Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2 for ImageMagick's 32-bit build, a 32-bit integer overflow in the BMP encoder’s scanline-stride computation collapses bytes_per_line (stride) to a tiny value while the per-row writer still emits 3 × width bytes for 24-bpp images. The row base pointer advances using the (overflowed) stride, so the first row immediately writes past its slot and into adjacent heap memory with attacker-controlled bytes. This is a classic, powerful primitive for heap corruption in common auto-convert pipelines. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-2, < 6.9.13-28 | — |
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.3+dfsg1-1 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u2 | DSA-5997-1 |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u4 | DSA-5997-1 |
| Debian 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u6 | DLA-4297-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | imagemagick | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3 | USN-7812-1 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4 | USN-7812-1 |
| Ubuntu Pro 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4 | USN-7812-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15+esm6 | USN-7812-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm14 | USN-7812-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm15 | USN-7812-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 ELS | ImageMagick +5 | 6.9.10.68-9.el7_9 | RHSA-2025:16313 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1, SUSE-SU-2025:03113-1 |
| SLES 15 SP6 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03164-1, SUSE-SU-2025:03152-1 |
| SLES 15 SP5 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLES 15 SP4 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLES 15 SP3 | ImageMagick | 7.0.7.34-150200.10.62.1 | SUSE-SU-2025:03151-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | ImageMagick | 6.8.8.1-71.212.1 | SUSE-SU-2025:03150-1 |
| SLES for SAP 16.0 | ImageMagick | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SLES for SAP 15 SP5 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLES for SAP 15 SP4 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLES for SAP 15 SP3 | ImageMagick | 7.0.7.34-150200.10.62.1 | SUSE-SU-2025:03151-1 |
| SLES 16.0 | ImageMagick | 7.1.2.0-160000.4.1 | SUSE-SU-2025:21211-1 |
| SLE HPC 15 SP5 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLE HPC 15 SP4 | ImageMagick | 7.1.0.9-150400.6.40.1 | SUSE-SU-2025:03152-1 |
| SLE HPC 15 SP3 | ImageMagick | 7.0.7.34-150200.10.62.1 | SUSE-SU-2025:03151-1 |
| SUSE Enterprise Storage 7.1 | ImageMagick | 7.0.7.34-150200.10.62.1 | SUSE-SU-2025:03151-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.2-2.1 | openSUSE-SU-2025:15498-1 |
| openSUSE Leap 16.0 | ImageMagick | 7.1.2.0-160000.4.1 | openSUSE-SU-2025:20162-1 |
| openSUSE Leap 15.6 | ImageMagick | 7.1.1.21-150600.3.20.1 | SUSE-SU-2025:03164-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | imagemagick | 7.1.2.8-r0 | — |
| Alpine v3.23 | imagemagick | 7.1.2.8-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ImageMagick +5 | 6.9.10.68-7.0.3.el7_9 | ELSA-2025-16313 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-HDRI-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q16-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q8-AnyCPU | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
| NuGet | Magick.NET-Q8-x86 | < 14.8.1 | 14.8.1 | GHSA-mxvv-97wh-cfmm |
Advisories 16
- WID-SEC-2025-1906 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- RHSA-2025:16313 Red Hat Security Advisory: ImageMagick security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-7812-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2025:20162-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15498-1 ImageMagick-7.1.2.2-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21211-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03150-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03152-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03151-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5997-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4297-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:03164-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03113-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2361 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- NCSC-2025-0330 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Oct 23, 2025
- ELSA-2025-16313 Important: ImageMagick security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 13, 2025