Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted bzip2-compressed image
-
ExploitReader misses end-of-file check
-
ExecutionReadBlob spins in infinite loop
-
ImpactProcessing 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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).
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-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
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.
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-94380
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB