Skip to main content

ImageMagick EUVDEUVD-2026-94380

| CVE-2026-106565 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-10-07 GitHub_M
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted bzip2-compressed image
  2. Exploit
    Reader misses end-of-file check
  3. Execution
    ReadBlob spins in infinite loop
  4. Impact
    Processing resources exhausted, denial of service

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

The target must parse an attacker-supplied, bzip2-compressed image stream (ImageMagick's internal bzip2 decompression path, e.g. BZip-compressed MIFF or similar formats) using a version prior to 7.1.2-32 (6.x line prior to 6.9.13-57). The concrete flaw: when ReadBlob reads a bzip2 stream and the read returns fewer bytes than requested, the code failed to set the EOF flag, so the reader never terminates and loops indefinitely. Exploitation therefore requires a code path that accepts and decodes untrusted images (upload, conversion, or thumbnail services); it does NOT require authentication, user interaction beyond providing the file, or any non-default setting. The practical LIMIT is impact scope: this only exhausts processing resources (availability) - there is no confidentiality or integrity impact and no code execution. Severity in a given deployment depends on whether untrusted images reach ImageMagick and whether per-request CPU/time limits are enforced.

Impact

This is a genuine but bounded availability-only issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) scores HIGH purely on the availability impact: no confidentiality or integrity loss, just resource exhaustion via an infinite loop. The real-world signals consistently point to moderate, not critical, urgency: EPSS is low (0.40%, 32nd percentile), the CVE is NOT in CISA KEV, and the CISA SSVC framework reports Exploitation: none, Automatable: no, and Technical Impact: partial - all of which align with the vuln.today 'this_week' priority rather than an emergency. No public exploit is identified in the input (only the vendor advisory and fix commits are referenced, not a PoC). The AV:N rating is reasonable only where ImageMagick processes attacker-supplied images reachable over the network (e.g., upload/conversion services); in CLI or purely local pipelines the practical vector is closer to local file delivery, so verify how your deployment ingests images. Bottom line: a real priority to patch for any service that processes untrusted images, but it is a DoS, not a code-execution or data-breach risk.

Exploit ScenarioDerived

An attacker uploads or submits a specially crafted bzip2-compressed image to a service that uses ImageMagick for processing, thumbnailing, or conversion. Because a missing end-of-file check lets the blob reader spin indefinitely, the worker handling that image enters an infinite loop and consumes CPU until the request times out or the host is starved of processing capacity. No public exploit code is identified at time of analysis, though the fix commits publicly reveal the exact missing EOF check.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 22, 2026

Denial of service in ImageMagick's bzip2 decompression path lets a crafted bzip2-compressed image stream drive the reader into an infinite loop, consuming CPU indefinitely on the affected process. Versions prior to 7.1.2-32 in the 7.x line (from 7.0.0) and prior to 6.9.13-57 in the 6.x line are affected; the flaw is reachable by remote, unauthenticated attackers who can get an image decoded (upload, conversion, or thumbnail service) with no user interaction beyond supplying the file, and there is no confidentiality, integrity, or code-execution impact. No public exploit code has been identified at time of analysis and CISA SSVC records no known exploitation; EPSS is 0.40% (32nd percentile), so the practical risk is concentrated in deployments that decode untrusted images without per-request CPU or wall-clock limits.

Earlier versions of this analysis (1)
v1 Oct 07, 2026 - 15:50 CVSS 5.9

Denial of service in ImageMagick before 7.1.2-32 (7.x line) and before 6.9.13-57 (legacy 6.x line): a missing end-of-file check in the bzip2 blob reader allows a crafted bzip2-compressed image whose stream is truncated or malformed to drive ReadBlob/EOFBlob into an infinite loop, exhausting processing resources and stalling any service that decodes untrusted image data. No authentication (PR:N) or user interaction (UI:N) is needed, but attack complexity is high (AC:H) because the malformed stream must be deliberately constructed to hit the vulnerable path, and impact is limited to availability (C:N/I:N/A:H) for an assessed CVSS of 5.9. No public exploit identified at time of analysis; the issue is addressed by the upstream commits and the 7.1.2-32 / 6.9.13-57 releases.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-32 or later on the 7.x branch, or 6.9.13-57 or later on the 6.x branch; the fixes are in ImageMagick commit e9872c4a165d869e75d10799c47195725ebf4132 (7.x) and ImageMagick6 commit 82f752927a552cbba1213b1d023b85e76845774c (6.x), released as tags https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-32 and https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-57, with details in advisory https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m9c7-gf3j-hx6h. Because this is an availability-only infinite loop rather than memory corruption, interim exposure can be reduced without patching by enforcing per-request CPU and wall-clock timeouts on the image conversion workers (trade-off: timeout kills legitimate long-running conversions of large images), and by preventing untrusted bzip2-compressed inputs from reaching ImageMagick where that format is not a business requirement (trade-off: legitimate bzip2-compressed images will be rejected). Neither workaround removes the defect, so upgrading the 7.x and 6.x branches in use remains the complete fix.

Affected VersionsENISA

ImageMagick 7.0.0, < 7.1.2-32
ImageMagick < 6.9.13-57

Affected Packages

euvd imagemagick fix: 6.9.13-57, 7.1.2-32

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

The bug lives in ImageMagick's blob I/O layer (MagickCore/blob.c in the 7.x tree, magick/blob.c in 6.x), specifically in EOFBlob() and ReadBlob() where decompression of bzip2 streams is handled via libbz2 status codes. Previously EOFBlob() assigned blob_info->eof with a ternary that could reset the flag to MagickFalse whenever the status was not BZ_UNEXPECTED_EOF, and ReadBlob() had no check for the case where a bzip2 read returned fewer bytes than requested while the bzip2 status was still BZ_OK - i.e. a truncated/ending stream that libbz2 did not report as an unexpected EOF. The commit replaces the ternary with a conditional that only ever sets eof to MagickTrue on BZ_UNEXPECTED_EOF, and adds a guard in ReadBlob() that sets blob_info->eof when count != length and status == BZ_OK. With the EOF flag never set, callers keep re-entering the read loop and the process spins indefinitely. This is classified CWE-400 (uncontrolled resource consumption) in the CVE record and CWE-835 (loop with unreachable exit condition) in the GitHub advisory, which is the more precise root-cause class; the trigger is an attacker-supplied bzip2-compressed image stream reaching the internal bzip2 decode path, and the result is purely availability loss.

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 (GitHub_M) PRIMARY MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Crafted image is typically delivered to an unauthenticated network-facing processing service (AV:N/PR:N/UI:N), reliably triggers an infinite loop (AC:L), and causes availability-only impact (C:N/I:N/A:H).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 22, 2026 - 18:13 vuln.today
v2 - CVSS changed
Severity Changed
Oct 22, 2026 - 18:09 NVD
MEDIUM HIGH
CVSS changed
Oct 22, 2026 - 18:09 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:06 cve.org
MEDIUM 5.9

DescriptionNVD

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a missing end-of-file check while reading bzip2-compressed image data can cause an infinite loop and exhaust processing resources. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.

Technical POC Analysis

Evidence caveat: the supplied material is the GitHub advisory GHSA-m9c7-gf3j-hx6h only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-106565 is a high-severity denial-of-service vulnerability in ImageMagick that can cause service outages in any application processing untrusted images. Organizations relying on ImageMagick for image uploads, conversion, or thumbnail generation face potential CPU exhaustion and service unavailability, which could disrupt customer-facing services and internal workflows.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image library across web apps and servers
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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

Vendor StatusVendor

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