Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick stream` command, specifying multiple consecutive `%d` format specifiers in a filename template causes a memory leak. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-0, < 6.9.13-26 | — |
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.1.47+dfsg1-2 | — |
| Debian 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u1 | — |
| Debian 12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u4 | — |
| 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~esm1 | USN-7728-1 |
| Ubuntu Pro 22.04 LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2 | USN-7728-1 |
| Ubuntu Pro 20.04 LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 | USN-7728-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+esm4 | USN-7728-1 |
| Ubuntu Pro 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm12 | USN-7728-1 |
| Ubuntu Pro 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm13 | USN-7728-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ImageMagick | 7.1.0.9-150400.6.33.1 | SUSE-SU-2025:02801-1, SUSE-SU-2025:02510-1 |
| SLES 15 SP6 | ImageMagick | 7.1.0.9-150400.6.33.1 | SUSE-SU-2025:02511-1, SUSE-SU-2025:02510-1 |
| SLES 12 SP5 | ImageMagick | 6.8.8.1-71.207.1 | SUSE-SU-2025:02751-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 7.1.2.0-1.1 | openSUSE-SU-2025:15349-1 |
| openSUSE Leap 15.6 | ImageMagick | 7.1.1.21-150600.3.13.1 | SUSE-SU-2025:02511-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 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ImageMagick +6 | 1:6.9.12.82-1.amzn2023.0.9 | ALAS2023-2025-1126 |
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.97-1.amzn2.0.14 | ALAS2-2025-2952 |
Affected packages
Advisories 10
- USN-7728-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2025:15349-1 ImageMagick-7.1.2.0-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02801-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02751-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4297-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:02510-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1537 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2025
- ALAS2023-2025-1126 Moderate: ImageMagick security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025
- ALAS2-2025-2952 Moderate: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 4, 2025
- SUSE-SU-2025:02511-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Jul 25, 2025