ImageMagick Stack Overflow Vulnerability in XML Tree Destruction Process Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in ImageMagick, a popular open-source image manipulation tool. This issue affects versions prior to 7.1.2-19 and 6.9.13-44. The vulnerability arises because the 'DestroyXMLTree()' function, responsible for freeing memory used by XML trees, processes data recursively without a depth limit. When an XML file with deep nesting is handled, the stack memory can be completely used up, causing a crash. This vulnerability has been addressed in ImageMagick versions 7.1.2-19 and 6.9.13-44.

Impact

Exploitation of this vulnerability leads to a stack overflow, causing a crash and disrupting service.

Remediation

Users can upgrade to ImageMagick versions 7.1.2-19 or 6.9.13-44 to address this vulnerability.

Added: Apr 13, 2026, 10:58 PM
Updated: Apr 13, 2026, 10:58 PM

Vulnerability Rating

Custom Algorithm
spread
7.8
impact
2.5
exploitability
5.3
remediation
7.7
relevance
5.8
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.