Skip to content
NewA calmer, faster ZeroHour

ImageMagick leaks XMP parameter-entity strings (CVE-2026-116155)

Original title: CVE-2026-116155: ImageMagick Memory Leak via Crafted XMP Profile

Lobsters · securityby agilehunt.com via ndr ()1 min read1
AI summary · x-ai/grok-4.7Summaries by Vani AI

Fixed in ImageMagick 7.1.2-33 and 6.9.13-58; reject XMP profiles in policy.xml as a stopgap.

ParseInternalDoctype stores parameter-entity values from an XMP DOCTYPE internal subset in a local vector and frees the vector without destroying the owned strings. Every entity value leaks on both the success and error paths. ImageMagick 7.1.2-33 and 6.9.13-58 fix the leak. Operators can reject XMP profiles through policy.xml until they upgrade.

Key facts
  • The leak is in xml-tree.c when the local vector is freed at line 1565.
  • Both the success path and the error path leak the owned value strings.
  • Fixed releases are ImageMagick 7.1.2-33 and 6.9.13-58.
  • A stopgap is to reject XMP profiles in policy.xml.
Security assessment · AI, from the article

Impact: leaks parameter-entity value strings from crafted XMP profiles

ProductAffectedFixed in
ImageMagick—7.1.2-33 or 6.9.13-58
What to do
  1. 1.Upgrade to ImageMagick 7.1.2-33 or 6.9.13-58.
  2. 2.Reject XMP profiles via policy.xml until upgraded.
Analyze CVE-2026-116155 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-116155
Memory leak in ImageMagick XMP profile handling
6.9—

From the original article

1 min read at agilehunt.com

CVE-2026-116155: ImageMagick Memory Leak via Crafted XMP Profile in ParseInternalDoctype ParseInternalDoctype stores parameter-entity values from an XMP DOCTYPE internal subset in a local vector, frees the vector at xml-tree. c:1565, but never destroys the owned value strings — every <! ENTITY %> value is leaked on both the success and error paths.

Lobsters · security

By agilehunt.com via ndr · agilehunt.com

Read the full article at Lobsters · security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.