Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-116154 EUVD-2026-109415GHSA-7gw6-97q8-rx2p

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via XML Parsing Depth Limit

Published Oct 25, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

Description

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak in its XML parsing code, where allocated memory is not released when parsing reaches the nesting depth limit. Attackers can supply crafted, deeply nested XML data to trigger the leak, causing memory exhaustion and denial of service.

Affected products

VendorProductAffectedFixed
ImageMagick ImageMagick 7.0.0-0 – < 7.1.2-33, < 6.9.13-58 7.1.2-33

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.33+dfsg1-1 —
Debian 13 imagemagick 8:7.1.1.43+dfsg1-1+deb13u14 —
Debian 12 imagemagick 8:6.9.11.60+dfsg-1.6+deb12u15 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 imagemagick No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS imagemagick No fix yet —
Ubuntu Pro 24.04 LTS imagemagick No fix yet —
Ubuntu Pro 22.04 LTS imagemagick No fix yet —
Ubuntu Pro 20.04 LTS imagemagick No fix yet —
Ubuntu Pro 18.04 LTS imagemagick No fix yet —
Ubuntu Pro 16.04 LTS imagemagick No fix yet —
Ubuntu Pro 14.04 LTS imagemagick No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.2.34-3.1 openSUSE-SU-2026:12356-1

Advisories 2

References