Skip to main content

ImageMagick CVE-2026-106567

| EUVDEUVD-2026-94382 HIGH
Unsigned to Signed Conversion Error (CWE-196)
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 PSD to image endpoint
  2. Exploit
    ImageMagick 32-bit PSD decoder parses file
  3. Execution
    Integer-conversion error in resource-block offset handling
  4. Impact
    Infinite loop exhausts CPU, denial of service

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Requires the target to run a 32-bit ImageMagick build older than 7.1.2-32 (7.x branch) or 6.9.13-57 (6.x branch) - the advisory and both fix commits state the infinite loop is reachable on 32-bit builds only, so 64-bit builds are not affected. The attacker must get a crafted PSD file processed by the PSD decoder (e.g., an image-upload, conversion, or thumbnail pipeline that invokes ReadPSDImage). The flaw is in ParseImageResourceBlocks where an unvalidated/negative image-resource-block offset fails the pre-patch bounds check and loops indefinitely. Primary limiting factor: the 32-bit build requirement; no authentication or user interaction is needed where PSD processing is exposed. Impact is availability only (CPU/service exhaustion) - no confidentiality or integrity impact.

Impact

This is a memory-safety-adjacent availability flaw (CWE-196 integer conversion leading to CWE-835 infinite loop per the GHSA) in the ImageMagick PSD decoder. The supplied CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) describes a network-reachable, unauthenticated, availability-only impact, which is consistent with image-upload/conversion pipelines where attacker-supplied files reach the decoder. However, every intelligence signal points to modest real-world risk rather than an emergency: EPSS is 0.40% (32nd percentile), the CVE is NOT in CISA KEV, and the CISA SSVC framework records Exploitation: none, Automatable: no, Technical Impact: partial. The vuln.today decision label is 'this_week' - a scheduled-patch priority, not act_now/emergency. Crucially, the GHSA advisory and both fix commits confirm the defect is reachable ONLY on 32-bit builds, a significant limiter given most production ImageMagick deployments today are 64-bit. The CVSS AC:L arguably understates difficulty because exploitation depends on a non-attacker-controlled deployment property (a 32-bit build); this is a deployment constraint rather than a strict CVSS base metric, but defenders should weight it. Net: a genuine denial-of-service bug worth patching on a normal cycle, not a high-CVSS-but-illusory issue, yet far from a drop-everything item for the majority of (64-bit) installations.

Exploit ScenarioDerived

An attacker submits a crafted PSD file to an application that passes uploaded images to a vulnerable 32-bit ImageMagick build (e.g., a web upload, thumbnailing, or conversion service). When the PSD decoder parses the malformed image-resource-block offsets, an integer-conversion error sends ParseImageResourceBlocks into an infinite loop, pinning CPU and causing denial of service. No public exploit was identified at time of analysis; the only public artifacts are the vendor advisory and patch commits.

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

A crafted PSD file can drive the ImageMagick PSD decoder into an infinite loop, consuming CPU indefinitely and denying service to any application that processes untrusted images. The flaw is an unvalidated image-resource-block offset in ParseImageResourceBlocks (CWE-196 integer conversion, escalating to CWE-835 infinite loop) that only manifests on 32-bit builds: ImageMagick 7.x before 7.1.2-32 and 6.x before 6.9.13-57, while 64-bit builds are not affected. Exploitation requires no authentication or user interaction wherever PSD parsing is exposed (upload, conversion, or thumbnail pipelines), but SSVC records Exploitation: none and Automatable: no, no public exploit is identified at time of analysis, and EPSS is modest at 0.40% (32nd percentile); availability-only impact drives the 7.5 CVSS score.

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

Denial of service in ImageMagick's PSD decoder occurs on 32-bit builds when processing a crafted PSD file with a malicious image resource block offset, causing an integer-conversion error that leads to an infinite loop. The vulnerability affects versions prior to 7.1.2-32 (ImageMagick 7) and 6.9.13-57 (ImageMagick 6), with unauthenticated remote attackers able to trigger it (CVSS vector PR:N) but requiring high attack complexity (AC:H) due to the 32-bit precondition and crafted file. No public exploit code or active exploitation has been identified, and the impact is confined to availability; 64-bit builds are not affected.

RemediationAI

Vendor-released patch: upgrade to ImageMagick 7.1.2-32 or 6.9.13-57, which contain the ParseImageResourceBlocks offset validation (commits f053f778409932d55b95758c4b1516b63191d1eb for 7.x and 61024a2677a3c7973a2dd27170877d8e51419473 for 6.x) and reject malformed resource blocks with a CorruptImageError instead of looping. Verify the deployed branch and bitness first: hosts running 64-bit builds are not exposed to this specific loop, but should still be brought to the fixed release per the advisory. Where immediate upgrade is not possible, the only load-bearing compensating control is removing 32-bit ImageMagick builds from paths that decode untrusted PSD input, or refusing PSD files at the upload or conversion boundary, since the loop is entered during PSD decoding before any content is returned; blocking PSD by magic bytes or extension costs functionality for legitimate Photoshop workflows and must be paired with a strict allowlist of accepted formats. Resource limits such as CPU timeouts or process-level watchdogs on image conversion workers do not prevent the hang but will terminate a stuck worker, at the cost of dropped jobs and possible worker churn, and a timeout must be short enough to bound the DoS window. Note that no exploit code is publicly identified at time of analysis, and the priority label places this in the this-week remediation window rather than emergency response.

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

ImageMagick's PSD coder (coders/psd.c) parses Adobe Photoshop image resource blocks, walking a sequence of typed records whose declared offsets and lengths are read from the file and used to advance a pointer within the block buffer. Prior to the fix, the bounds check compared pointer arithmetic against the buffer end but did not reject a negative or zero offset, and on 32-bit builds the integer handling of that offset allowed the resulting conversion to wrap, so the walk could fail to advance and loop forever inside ParseImageResourceBlocks. Both fix commits (f053f778 for the 7.x branch, 61024a26 for the 6.x branch) add an explicit (offset <= 0) test, a pointer-plus-offset upper-bound test and a size_t position/offset sum test against the buffer length, and now raise a CorruptImageError 'Invalid PSD resource block offset' with an ExceptionInfo parameter threaded into ParseImageResourceBlocks from ReadPSDImage. The underlying weakness class is CWE-196 (unsigned/signed conversion), which the GHSA pairs with CWE-835 (loop with unreachable exit condition). Because the defect lives in offset arithmetic tied to 32-bit integer width, 64-bit deployments cannot reach the non-advancing state, which sharply limits the exposed population despite the AV:N/AC:L/PR:N/UI:N vector.

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

File reaches the decoder over the network without auth or interaction (AV:N/PR:N/UI:N), triggering availability-only DoS (A:H, C:N/I:N); the 32-bit-only requirement is a deployment limiter rather than a base-metric change, so AC:L is retained.

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:12 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:22 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 crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infinite loop and denial of service. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.

Technical POC Analysis

No patch diff, commit, or PoC code was supplied with this evidence - only the GitHub Security Advisory GHSA-g6p6-3ggg-3w7j.

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

A high-severity denial-of-service vulnerability in ImageMagick's 32-bit builds allows a crafted PSD file to cause an infinite loop, exhausting CPU resources and disrupting any service that processes untrusted images. While only 32-bit systems are affected and no exploits are known, the ease of triggering the flaw through common image upload and conversion pipelines warrants immediate remediation to prevent operational outages.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
very widely deployed image library, but only 32-bit builds affected
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
Medium
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