Skip to main content

ImageMagick EUVDEUVD-2026-94382

| CVE-2026-106567 MEDIUM
Unsigned to Signed Conversion Error (CWE-196)
2026-10-07 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted PSD to image service
  2. Delivery
    ParseImageResourceBlocks reads attacker-controlled offset
  3. Exploit
    Integer conversion wraps on 32-bit build
  4. Execution
    Parser enters infinite loop
  5. Impact
    CPU exhaustion / service hang (DoS)

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires (1) a 32-bit ImageMagick build - the integer-conversion error does not manifest on standard 64-bit builds, which eliminates most modern deployments; (2) the target must decode a PSD file whose image resource block contains a crafted offset value that triggers the conversion error in ParseImageResourceBlocks; and (3) an application path that feeds attacker-controlled images to ImageMagick (e.g., upload-and-convert endpoints). No authentication is indicated by the vector (PR:N) and no user interaction is needed (UI:N) in automated pipelines. The dominant limiting factor is the 32-bit precondition; impact is confined to availability (process hang/CPU exhaustion) with no code execution or data exposure.

Impact

This is a moderate-priority, availability-only denial-of-service issue rather than a high-impact flaw. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H = 5.9 Medium) shows no confidentiality or integrity impact - the worst outcome is an infinite loop hanging the process. AC:H and the description's explicit '32-bit builds' qualifier materially constrain exploitability: modern server and desktop ImageMagick deployments are overwhelmingly 64-bit, so the vulnerable population is a subset of all installs. No EPSS score, KEV listing, POC, or SSVC data were supplied in the input; therefore there is no public exploit identified at time of analysis and no evidence of active exploitation. The one strong corroborating signal is high-quality source evidence: vendor security advisory (GHSA-g6p6-3ggg-3w7j) plus the actual fix commits for both the 7.x and 6.x branches, confirming the root cause and the patch. Net: a real but low-urgency bug - patch during normal maintenance, prioritizing 32-bit image-processing services; it does not warrant emergency response.

Exploit ScenarioDerived

An attacker uploads a maliciously crafted PSD file to a web service or pipeline that uses a 32-bit ImageMagick build to process user-supplied images. When the PSD decoder parses the image resource blocks, an integer-conversion error on a crafted offset value sends the parser into an infinite loop, pinning CPU and hanging the worker so that image conversion stalls indefinitely. No public exploit code is identified at time of analysis, and the AC:H rating reflects that the crafted offset plus a 32-bit target are both required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – Oct 07, 2026

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

Upgrade to ImageMagick 7.1.2-32 or 6.9.13-57 (or later) as provided by the vendor; these releases contain the fix for the PSD decoder. If upgrading is not immediately possible, migrate to a 64-bit ImageMagick build, which is not affected by this 32-bit-specific integer conversion error. Alternatively, disable the PSD coder via ImageMagick's policy.xml (e.g., <policy domain="coder" rights="none" pattern="PSD" />), but this will prevent all legitimate PSD processing and may break workflows that rely on it. Restrict attacker-controlled file uploads to ImageMagick processing endpoints, especially those that accept PSD files, as a compensating control with the trade-off of reduced functionality. For full details, see the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-g6p6-3ggg-3w7j.

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 vulnerability resides in the PSD decoder's ParseImageResourceBlocks function within coders/psd.c, where an unsigned-to-signed integer conversion error (CWE-196) can occur on 32-bit builds. When processing a PSD file's image resource block, a crafted offset value that exceeds the remaining buffer length fails proper validation due to size_t being 32-bit, causing an integer wraparound that bypasses the bounds check and leads to an infinite loop. The fix (commits f053f778 for ImageMagick 7 and 61024a26 for ImageMagick 6) adds an explicit check for non-positive offsets and uses size_t casts for length calculations, throwing a CorruptImageError and breaking the loop. The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* confirms all versions before the fixed releases are affected, but only when compiled for 32-bit platforms; 64-bit builds use a 64-bit size_t, preventing the conversion error.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

AV:N as remote attacker-supplied files are processed; AC:H because exploitation needs a 32-bit build plus a specific crafted offset; only availability (A:H) is affected.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/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 VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:22 cve.org
MEDIUM 5.9

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
ImageMagick is a near-ubiquitous image-processing library across servers and apps
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

CVE-2026-23876 CRITICAL POC
9.8 Jan 20

Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d

Vendor StatusVendor

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