Skip to main content
← All vulnerabilities
CVE-2026-33908GHSA-FWVM-GGF6-2P4X

ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.9.13-44, 7.1.2-19, 14.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ImageMagick ImageMagick

    fixed in 6.9.13-44; fixed in 7.1.2-19

  • Magick.NET-Q16-AnyCPUNuGet

    fixed in 14.12.0

  • Magick.NET-Q16-HDRI-AnyCPUNuGet

    fixed in 14.12.0

  • Magick.NET-Q16-HDRI-OpenMP-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-HDRI-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-HDRI-x64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-HDRI-x86NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-OpenMP-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-OpenMP-x64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-x64NuGet

    fixed in 14.12.0

  • Magick.NET-Q16-x86NuGet

    fixed in 14.12.0

  • Magick.NET-Q8-AnyCPUNuGet

    fixed in 14.12.0

  • Magick.NET-Q8-OpenMP-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q8-OpenMP-x64NuGet

    fixed in 14.12.0

  • Magick.NET-Q8-arm64NuGet

    fixed in 14.12.0

  • Magick.NET-Q8-x64NuGet

    fixed in 14.12.0

  • Magick.NET-Q8-x86NuGet

    fixed in 14.12.0

References 4

GitHub · ImageMagick/ImageMagick

GitHub · dlemstra/Magick.NET