Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted image to processing service
-
DeliveryEmbedded XMP profile reaches parser
-
ExploitRational-value approximation loop iterates excessively
-
ExecutionCPU/worker resources exhausted
-
ImpactDenial of service on image pipeline
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that an application use a vulnerable ImageMagick version (< 7.1.2-31) to parse an attacker-supplied image whose embedded XMP profile contains a rational value crafted so the pre-patch GetXmpNumeratorAndDenominator approximation loop iterates excessively. The concrete prerequisite is a processing path that accepts untrusted images with XMP metadata (uploads, conversions, thumbnailing). Limiting factors: impact is availability-only (CPU/resource exhaustion), there is no code execution or data exposure, and systems that do not process untrusted images or strip/ignore XMP profiles before ImageMagick parsing are not reachable; per CVSS PR:N/UI:N no authentication or user interaction is required once the image reaches the parser. |
| Impact | Signals are largely consistent and point to a genuine but moderate availability-only risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes an unauthenticated, low-complexity, remote trigger with high availability impact and no confidentiality or integrity impact - classic CWE-400 uncontrolled resource consumption. SSVC reinforces this: Exploitation 'none' (no observed attacks), Automatable 'yes' (the trigger is a single crafted image that can be mass-submitted), and Technical Impact 'partial' (DoS only, not full compromise). EPSS is low at 0.37% (29th percentile), and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation. These align rather than conflict: a low EPSS plus SSVC 'Exploitation: none' is coherent for a freshly patched DoS with no in-the-wild activity. One nuance worth flagging: SSVC Technical Impact is 'partial' while CVSS rates A:H - this is the expected difference between SSVC's compromise-oriented scale and CVSS's availability-only scoring, not a data error. Net: this is a real priority for services that ingest untrusted images at scale (the 'Automatable: yes' flag matters there), but it is not a critical, exploit-under-attack situation - it is a high-CVSS availability bug with currently low real-world exploitation pressure. Patch promptly where ImageMagick parses untrusted uploads; treat as routine-urgent, not emergency. |
| Exploit ScenarioDerived | An attacker uploads a single image file embedding a crafted XMP profile to a web service that uses ImageMagick for thumbnailing or conversion. When ImageMagick parses the profile, the pre-patch rational-value approximation loop performs an excessive number of iterations, pinning CPU and stalling or hanging the worker. No public exploit or weaponized POC is identified, but a vendor fix commit is public, making the root cause (GetXmpNumeratorAndDenominator) straightforward to analyze and reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 21, 2026
Denial of service in ImageMagick versions prior to 7.1.2-31 allows unauthenticated remote attackers to exhaust CPU resources by supplying an image whose embedded XMP profile contains a crafted rational value, causing the parser to perform excessive work. Impact is availability-only, with no code execution or data exposure, and exploitation requires an application to process untrusted images with XMP metadata. No public exploit was identified at time of analysis, CISA KEV does not list this issue, and EPSS is low at 0.37% (29th percentile); the vendor-released fix is version 7.1.2-31.
Earlier versions of this analysis (1)
ImageMagick versions prior to 7.1.2-31 can be driven into excessive CPU consumption when the XMP profile parser resolves an attacker-supplied rational (numerator/denominator) value, degrading or stalling the service that performs the image conversion. The affected path is reachable unauthenticated and without user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), but requires the application to feed attacker-controlled image data through ImageMagick, so the practical exposure is limited to upload, convert, or thumbnail pipelines that process untrusted images and read embedded XMP metadata. Impact is bounded to availability degradation - there is no memory corruption, data disclosure, or code execution - and no public exploit code was identified at time of analysis; the vendor has released ImageMagick 7.1.2-31 as the fix.
RemediationAI
Upgrade ImageMagick to 7.1.2-31 or later, which contains the bounded XMP rational parsing fix; see the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v45j-x8p4-3mh4, the fixing commit at https://github.com/ImageMagick/ImageMagick/commit/f491576297141ff685dc4460d811986f5b6b6cec, and the release tag at https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31. Where immediate upgrade is not possible, reduce reachability by stripping or rejecting untrusted XMP metadata before ImageMagick parsing, or by restricting ImageMagick processing to trusted images; these measures trade metadata fidelity and functionality for reduced exposure. Enforce ImageMagick resource and time limits via policy.xml as a compensating control to reduce the severity of CPU exhaustion, recognizing that this mitigates impact rather than removing the vulnerable parsing loop.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ImageMagick parses embedded XMP metadata profiles in MagickCore/profile.c. The vulnerable GetXmpNumeratorAndDenominator routine approximates a rational value using an unbounded loop that increments numerator and denominator until the floating-point approximation converges; a crafted rational value can force excessive iterations and consume CPU. This is CWE-400 uncontrolled resource consumption, with the CVSS vector confirming network reachability, no privileges or user interaction, and high availability impact only. The upstream commit replaces the loop with a bounded continued-fraction style calculation limited to 128 iterations, adds overflow checks in TryAccumulate, and guards against zero denominators.
Know when Imagemagick gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Untrusted image reaches a server-side parser with no auth or interaction (AV:N/AC:L/PR:N/UI:N); DoS-only resource exhaustion gives A:H with C:N/I:N and no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31, a crafted XMP profile can trigger excessive work while the parser determines a rational value's numerator and denominator, causing denial of service. This issue is fixed in version 7.1.2-31.
Technical POC Analysis
Class: CWE-400 (Uncontrolled Resource Consumption), with CWE-834 (Excessive Iteration) also assigned in the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
ImageMagick versions prior to 7.1.2-31 contain a high-severity availability flaw that can let crafted XMP-bearing images drive excessive CPU consumption in services that process untrusted image uploads. The issue affects availability only and does not expose data or enable code execution, but it could degrade or interrupt image-processing workflows and dependent customer-facing services. Leadership should prioritize inventory and patching of exposed image-processing pipelines because low exploitation likelihood does not eliminate operational disruption risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct
The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-94396
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB