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

Lobsters Hottest News

Summary

CVE-2026-116155 discloses a memory leak in ImageMagick's ParseInternalDoctype, where parameter-entity values from crafted XMP DOCTYPE internal subsets are never freed; users are advised to upgrade to ImageMagick 7.1.2-33 or 6.9.13-58 or block XMP profiles via policy.xml.

<p><a href="https://lobste.rs/s/bnok4r/cve_2026_116155_imagemagick_memory_leak">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 10/31/26, 03:25 PM

# CVE-2026-116155: ImageMagick Memory Leak via Crafted XMP Profile | AgileHunt Source: [https://www.agilehunt.com/blog/imagemagick-cve-2026-116155-xmp-profile-parameter-entity-memory-leak](https://www.agilehunt.com/blog/imagemagick-cve-2026-116155-xmp-profile-parameter-entity-memory-leak) ## 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\. Upgrade to ImageMagick 7\.1\.2\-33 or 6\.9\.13\-58, and as a stopgap reject XMP profiles via policy\.xml\. - [Platform](https://www.agilehunt.com/platform) - [Process](https://www.agilehunt.com/process) - [Compliance](https://www.agilehunt.com/compliance) - [Pricing](https://www.agilehunt.com/pricing) - [Services](https://www.agilehunt.com/services/web-application-penetration-testing) - [Blog](https://www.agilehunt.com/blog) - [Attack Handbook](https://www.agilehunt.com/attack-handbook) - [Contact](https://www.agilehunt.com/contact) - [Web Application Testing](https://www.agilehunt.com/services/web-application-penetration-testing) - [API Security Testing](https://www.agilehunt.com/services/api-security-testing) - [AI Penetration Testing](https://www.agilehunt.com/services/ai-penetration-testing) - [Cloud Security Assessment](https://www.agilehunt.com/services/cloud-security-assessment) - [AgileHunt vs Cobalt](https://www.agilehunt.com/compare/cobalt-alternative) - [AgileHunt vs Bugcrowd](https://www.agilehunt.com/compare/bugcrowd-alternative) - [AgileHunt vs HackerOne](https://www.agilehunt.com/compare/hackerone-alternative)

Similar Articles

PHP session.upload_progress heap UAF (CVE-2026-109618 / -109619)

Hacker News Top

A heap use-after-free in PHP's session.upload_progress handler (CVE-2026-109618 / -109619) allows attackers to hijack freed bucket pointers and achieve remote code execution via zend_call_function; the writeup includes verified PoC chains for PHP 8.4.4 and 8.2.34 along with pre-patch mitigations.