Skip to main content

ImageMagick EUVDEUVD-2026-140191

| CVE-2026-140362 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-12-01 VulnCheck GHSA-5fw7-gcgh-wq94
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control of ImageMagick CLI arguments
  2. Exploit
    Supply invalid value to -rotational-blur option
  3. Execution
    Trigger infinite loop in rotational-blur handling (CWE-835)
  4. Impact
    Exhaust CPU and deny service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
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 the attacker to control the command-line arguments passed to the ImageMagick binary, and specifically to supply the -rotational-blur option with an invalid argument value. This is NOT remote unauthenticated exploitation of a default service: the vector is local (AV:L) and depends on a deployment where untrusted input reaches ImageMagick's CLI options (e.g., an application that forwards user input into convert/magick invocations). Limiting factors: the only impact is availability (CPU exhaustion / denial of service) with no confidentiality or integrity effect; the attacker needs argument-injection capability rather than mere network reachability; and affected deployments are those running ImageMagick before 6.9.13-61 (6.x) or before 7.1.2-36 (7.x). The precise code path that loops is not detailed in the available sources beyond the invalid-argument trigger.

Impact

This is a moderate-severity availability-only issue, not a top-tier emergency. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) scores 5.7 and reflects a local attack surface with only availability impact - no confidentiality or integrity loss. CISA SSVC signals reinforce a measured response: Exploitation=none, Automatable=no, Technical Impact=partial, which aligns with the vuln.today 'this_month' priority (patch on a normal monthly cadence, not act_now/emergency). The vulnerability is NOT in CISA KEV, and no EPSS probability was provided in the input, so widespread or automated exploitation is not currently indicated. No POC was flagged in the input; a VulnCheck advisory reference exists but it is an advisory describing the flaw, not verified working exploit code - no public exploit identified at time of analysis. The key limiting factor, stated in the description itself, is that the attacker must be able to control the command-line arguments passed to ImageMagick; this is not a remote unauthenticated network exploit against a default service. Note a mild tension to verify: the vector is AV:L yet real-world exposure depends entirely on whether a front-end application forwards attacker-influenced input into ImageMagick CLI options - in such app contexts the practical reachability can be higher than 'local' suggests, so assess your own call paths.

Exploit ScenarioDerived

An application or script that passes untrusted user-supplied values into ImageMagick command-line options allows an attacker to inject the -rotational-blur option with an invalid argument. ImageMagick enters an infinite loop processing that argument, pinning CPU and denying service to legitimate image-processing requests. No public exploit code was identified; the trigger requires only control over the command-line arguments, after which the condition is trivially reproducible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

ImageMagick 6.x before 6.9.13-61 and 7.x before 7.1.2-36 can enter an infinite loop when the -rotational-blur CLI option receives an invalid argument, consuming CPU until the process is stopped and causing a denial of service. The assessed exposure is local and availability-only: an attacker must be able to control command-line arguments that reach the ImageMagick binary, such as in an application that forwards untrusted input into magick/convert invocations. The supplied intelligence does not list CISA KEV exploitation, SSVC marks exploitation as none and automatable as no, and no public exploit code is identified at time of analysis.

RemediationAI

Upgrade ImageMagick to 6.9.13-61 for the 6.x branch or 7.1.2-36 for the 7.x branch, as listed in the vendor advisory GHSA-h5qr-j3rh-p38h (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h5qr-j3rh-p38h) and reflected in the EUVD affected-version data. Because the assessed exploitation prerequisite is attacker control of command-line arguments reaching the ImageMagick binary, deployments that cannot immediately update should prevent untrusted input from being forwarded as magick/convert CLI options, which removes the argument-injection path; this is an exposure-reduction measure, not a substitute for the fixed release. No other vendor workaround is stated in the supplied sources.

Affected VersionsENISA

ImageMagick 0 <6.9.13-61
ImageMagick 7.0.0 <7.1.2-36

Affected Packages

euvd imagemagick fix: 6.9.13-61, 7.1.2-36

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 is a widely deployed image-processing library and command-line suite. This issue is CWE-835, an infinite loop with an unreachable exit condition, in the handling of the -rotational-blur option; the sources state that an invalid argument for this option can cause endless looping but do not describe the precise internal loop or parsing path beyond that trigger. The affected package is tracked as cpe:2.3:a:imagemagick:imagemagick across the 6.x and 7.x branches, with EUVD listing ImageMagick 0 <6.9.13-61 and 7.0.0 <7.1.2-36. The GitHub advisory GHSA-h5qr-j3rh-p38h confirms the same fixed versions, 6.9.13-61 and 7.1.2-36. The assessed vector is local with availability-only impact, consistent with a CLI argument-handling fault rather than a remotely reachable default service flaw.

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

Vendor (VulnCheck) PRIMARY 5.7 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Trigger is trivial once arguments are controlled (AC:L); controlling CLI arguments implies some local/application privilege (PR:L); impact is availability-only DoS, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 16:02 EUVD
CVE Published
Dec 01, 2026 - 14:29 cve.org
MEDIUM 5.7

DescriptionCVE.org

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an infinite loop in the handling of the -rotational-blur option when an invalid argument is supplied. Attackers who can control the command-line arguments passed to ImageMagick can trigger endless looping that exhausts CPU resources, causing a denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
ImageMagick is a widely embedded image-processing library across web apps and servers
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2016-3718 MEDIUM POC
5.5 May 05

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

CVE-2016-3715 MEDIUM POC
5.5 May 05

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

CVE-2017-15277 MEDIUM POC
6.5 Oct 12

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc

CVE-2016-5841 CRITICAL POC
9.8 Dec 13

Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv

CVE-2016-3717 MEDIUM POC
5.5 May 05

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

CVE-2016-5118 CRITICAL
9.8 Jun 10

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit

CVE-2016-5689 CRITICAL POC
9.8 Dec 13

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

CVE-2016-5690 CRITICAL POC
9.8 Dec 13

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

CVE-2016-5691 CRITICAL POC
9.8 Dec 13

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

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2017-14138 CRITICAL POC
9.8 Sep 04

ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy