Security Resilience

CVE-2026-33908

DoS in Imagemagick ≤ 6.9.13-44

Published
13 April 2026
Modified
15 July 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0073 50th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-33908 is a high-severity Uncontrolled Recursion (CWE-674) vulnerability in Imagemagick. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 50% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-33908 is a stack exhaustion vulnerability in ImageMagick, an open-source software suite for image editing and manipulation. In versions prior to 7.1.2-19 and 6.9.13-44, the Magick component processes XML files by recursively freeing memory in the XML tree via the DestroyXMLTree() function without imposing a depth limit. This allows deeply nested XML structures to exhaust stack memory, leading to a denial-of-service condition. The issue is classified under CWE-674 and carries a CVSS v3.1 base score of 7.5.

The vulnerability can be exploited by any remote attacker with network access, requiring low attack complexity, no privileges, and no user interaction. An attacker simply needs to supply a crafted image file containing deeply nested XML structures to an ImageMagick instance for processing, triggering recursive memory deallocation that overflows the stack and crashes the application, resulting in high-impact availability disruption with no confidentiality or integrity effects.

Mitigation is available through upgrades to ImageMagick versions 6.9.13-44 or 7.1.2-19, where the issue has been fixed. Official resources include the GitHub security advisory at GHSA-fwvm-ggf6-2p4x, the patching commit ccdc01180276aa2cb3d4a32a611aa4f417061cd8, and the release page for 7.1.2-19. A related update appears in Magick.NET version 14.12.0.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-53015Same product: Imagemagick Imagemagick
CVE-2026-46522Same product: Imagemagick Imagemagick
CVE-2026-26283Same product: Imagemagick Imagemagick
CVE-2026-26066Same product: Imagemagick Imagemagick
CVE-2026-23874Same product: Imagemagick Imagemagick
CVE-2026-56365Same product: Imagemagick Imagemagick
CVE-2026-61870Same product: Imagemagick Imagemagick
CVE-2026-25988Same product: Imagemagick Imagemagick
CVE-2026-61866Same product: Imagemagick Imagemagick
CVE-2026-53464Same product: Imagemagick Imagemagick

Affected Assets

imagemagick
imagemagick
≤ 6.9.13-44 · 7.0.0-0 — 7.1.2-19

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Secure configuration settings can disable DTD processing or cap entity expansion in XML parsers.

Input validation can reject or constrain data that would otherwise drive unbounded recursive calls.

Least-functionality configuration can prohibit unsafe DTD features or external entity resolution.

DoS protection mechanisms limit the resource-exhaustion impact of uncontrolled recursion without eliminating the flaw.

System monitoring can observe anomalous resource consumption that signals runaway recursion after it begins.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices directly prevent introduction of improper recursive entity handling in XML code.

PR.PS-01 mostly match
blocks

Hardened configuration baselines can disable or limit DTD entity expansion in XML parsers.

ID.RA-01 partial match
blocks

Identifying and recording vulnerabilities can discover XML entity expansion flaws before exploitation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect excessive recursion via static analysis or fuzzing.

prevents

Training developers in secure XML handling can teach them to disable DTD processing or limit entity expansion, preventing some instances, but this is a specific technical configuration that requires correct implementation and the practice is fallible, leaving most instances unaffected by training alone.

prevents

Secure coding standards directly prohibit or constrain recursive constructs that could exhaust stack or memory.

prevents

A.8.30 carries its effect through the secure-design, coding and testing practices (8.25–8.29) its contract requires of the supplier, which reduce ordinary software implementation weaknesses like insecure XML parsing configuration in delivered code, but the practices are fallible and the clause depends on those other controls being properly implemented, so only a minority of instances are prevented.

finds

Capacity management includes monitoring and limits that mitigate resource exhaustion from runaway recursion.

finds

A.8.8's reach is DISCLOSURE — it finds XEE only where a vendor-published advisory exists for the XML parsing library or component, and XEE does surface as CVEs (CVE-2008-3281, CVE-2011-3288, CVE-2011-1755, CVE-2009-1955, CVE-2003-1564), so it is not `none`; but the bulk of XEE instances live in first-party custom XML processing code, which A.8.8's disclosure-based programme does not read, capping the rung at `partial`.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-674, a class-level weakness, and none of its children carries one either.

References