CVE-2026-33908

HIGH

ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

Title source: cna

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recursively with no depth limit imposed. When Magick processes an XML file with deeply nested structures, it will exhaust the stack memory, resulting in a Denial of Service (DoS) attack. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

Scores

CVSS v3 7.5
EPSS 0.0002
EPSS Percentile 5.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-674
Status published
Products (20)
imagemagick/imagemagick < 6.9.13-44
ImageMagick/ImageMagick < 6.9.13-44
ImageMagick/ImageMagick < 7.1.2-19
nuget/Magick.NET-Q16-AnyCPU 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-arm64 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-HDRI-AnyCPU 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-HDRI-arm64 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-HDRI-OpenMP-arm64 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-HDRI-x64 0 - 14.12.0NuGet
nuget/Magick.NET-Q16-HDRI-x86 0 - 14.12.0NuGet
... and 10 more
Published Apr 13, 2026
Tracked Since Apr 14, 2026