Skip to content
OpenAdvisories

Description

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed.

Affected products

VendorProductAffectedFixed
ImageMagick ImageMagick 7.0.0 – < 7.1.2-15, < 6.9.13-40 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.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 8:7.1.2.15+dfsg1-1 —
Debian 13 imagemagick 8:7.1.1.43+dfsg1-1+deb13u11 —
Debian 12 imagemagick 8:6.9.11.60+dfsg-1.6+deb12u12 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 imagemagick No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS imagemagick 8:7.1.2.18+dfsg1-1ubuntu0.1~esm2 USN-8739-1
Ubuntu Pro 24.04 LTS imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13 USN-8739-2
Ubuntu Pro 22.04 LTS imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14 USN-8739-1
Ubuntu Pro 20.04 LTS imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14 USN-8739-1
Ubuntu Pro 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.15+esm16 USN-8739-1
Ubuntu Pro 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.16+esm24 USN-8739-1
Ubuntu Pro 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.13+esm25 USN-8739-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1, SUSE-SU-2026:2877-1
SLES 15 SP6 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1, SUSE-SU-2026:3023-1
SLES 15 SP5 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
SLES 15 SP4 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
SLES 12 SP5 ImageMagick 6.8.8.1-71.259.1 SUSE-SU-2026:3024-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 ImageMagick 7.1.2.0-160000.10.1 SUSE-SU-2026:22378-1
SLES for SAP 15 SP6 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1, SUSE-SU-2026:3023-1
SLES for SAP 15 SP5 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
SLES for SAP 15 SP4 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
SLES 16.0 ImageMagick 7.1.2.0-160000.10.1 SUSE-SU-2026:22378-1
SLE HPC 15 SP5 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
SLE HPC 15 SP4 ImageMagick 7.1.0.9-150400.6.96.1 SUSE-SU-2026:3053-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.2.25-3.1 openSUSE-SU-2026:11127-1
openSUSE Leap 16.0 ImageMagick 7.1.2.0-160000.10.1 openSUSE-SU-2026:21071-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ImageMagick +6 1:6.9.13.40-1.amzn2023.0.1 ALAS2023-2026-1478
Amazon Linux 2 ImageMagick +5 6.9.10.97-1.amzn2.0.31 ALAS2-2026-3786

Affected packages

Advisories 12

References