CVE-2026-116154: ImageMagick memory leak in XML parsing depth limit

CVE-2026-116154 · Severity: medium · CVSS 5.3 · Published 2026-10-25

ImageMagick is a widely-used image processing library that handles various file formats including those containing XML data. A memory leak in its XML parser allows attackers to send specially crafted files with deeply nested XML structures, exhausting server memory and causing denial of service. This impacts any application using ImageMagick to process user-supplied images or documents.

Technologies: ImageMagick. Vendors: ImageMagick.

Quick answers

Is CVE-2026-116154 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-116154 being exploited in the wild.
How severe is CVE-2026-116154?
Medium severity, with a CVSS score of 5.3, published 25 October 2026.
Which products and versions are affected?
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33.
Is there a fix for CVE-2026-116154?
Yes: fixed in 6.9.13-58, 7.1.2-33. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-116154 attacked?
It is attacked over the network.
Am I affected by CVE-2026-116154?
Check whether you run ImageMagick at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 6.9.13-58, 7.1.2-33

Technical details

The vulnerability exists in ImageMagick's XML parsing code where memory allocated during XML parsing is not properly released when the parser reaches the nesting depth limit. An attacker can send crafted, deeply nested XML data to trigger the memory leak, leading to progressive memory exhaustion and denial of service. The vulnerability affects versions before 6.9.13-58 and 7.x versions before 7.1.2-33.

Affected products

  • ImageMagick ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33

Timeline

  • 2026-10-10: disclosed
  • 2026-10-25: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.