Skip to content
OpenAdvisories

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Alpine v3.24 imagemagick 7.1.2.8-r0 —
Alpine v3.23 imagemagick 7.1.2.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
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

References