Skip to main content

ImageMagick EUVDEUVD-2026-38174

| CVE-2026-56378 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-21 VulnCheck GHSA-jmqv-2mx7-544h
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious PCD image file
  2. Delivery
    Submit file to ImageMagick-powered service
  3. Exploit
    PCD coder DecodeImage loop processes crafted input
  4. Execution
    One-byte heap out-of-bounds read triggered
  5. Impact
    Application crash (DoS) or single adjacent heap byte disclosed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a vulnerable ImageMagick version (7.x before 7.1.2-15 or 6.x before 6.9.13-40) processes a crafted PCD (Kodak Photo CD) format file through the PCD coder's DecodeImage function. The CVSS 4.0 metrics AC:H and AT:P explicitly indicate high complexity and required attack prerequisites - the target application must accept and process PCD image files for the vulnerability to be reachable. Applications that do not process PCD files, or that have disabled the PCD coder via ImageMagick's policy.xml, are not exploitable regardless of ImageMagick version. The CVSS 4.0 vector specifies PR:N and UI:N, meaning no authenticated session or victim-side interaction is required beyond the application passively invoking the PCD coder on the attacker-supplied file. Exploitation is further constrained by the PCD format's rarity - most modern image-processing pipelines do not accept PCD input - and by the non-trivial exploitation complexity for any memory-disclosure outcome beyond application crash.

Impact

The CVSS 4.0 base score of 6.3 reflects a moderate-severity vulnerability with meaningful real-world constraints. The vector AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N indicates network exploitability without authentication or user interaction, but high attack complexity and explicit attack prerequisites (the target must process PCD files) substantially reduce the exploitable population. A notable discrepancy exists in the provided CVSS 4.0 vector: VA:N (no availability impact on the vulnerable system) contradicts both the CVE description and GHSA advisory, which explicitly list denial of service as an impact - defenders should treat VA:L as the more accurate assessment for availability. The confidentiality impact is minimal - a single adjacent heap byte - making memory disclosure exploitation impractical in most real-world conditions. No KEV listing confirms no known active exploitation, and no public proof-of-concept has been identified. The primary realistic threat is DoS via application crash in services that process externally uploaded images. Risk is elevated for publicly exposed file-upload services that do not restrict input image formats, and near-negligible for pipelines that do not handle PCD files.

Exploit ScenarioDerived

An attacker submits a specially crafted PCD image file to a web application or API endpoint that processes user-supplied images using a vulnerable ImageMagick version. ImageMagick's PCD coder invokes DecodeImage on the malicious file, triggering a one-byte heap out-of-bounds read that either crashes the decoding process - causing a denial of service for the affected application worker - or, under a favorable heap layout, leaks a single byte of adjacent heap memory to the attacker's output. No public exploit code has been identified; the AC:H and AT:P CVSS metrics indicate that reliable triggering requires careful crafting of the PCD payload.

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 – Jun 22, 2026

Heap out-of-bounds read in ImageMagick's PCD image decoder (versions prior to 7.1.2-15 and 6.9.13-40) allows unauthenticated network-reachable attackers to cause denial of service and disclose a single adjacent heap byte by supplying a crafted PCD file to an image-processing endpoint. The vulnerability is rooted in the PCD coder's DecodeImage loop and requires high attack complexity (AC:H) with specific attack prerequisites (AT:P), meaning the target application must actively process attacker-supplied PCD files. No public exploit code has been identified and this vulnerability does not appear in the CISA KEV catalog at time of analysis, though .NET bindings via Magick.NET NuGet packages are also affected and carry a separate fix version.

RemediationAI

The primary fix is to upgrade ImageMagick to version 7.1.2-15 or later (7.x branch) or 6.9.13-40 or later (6.x branch), as confirmed by vendor advisory GHSA-wgxp-q8xq-wpp9 and the upstream patch commit at https://github.com/ImageMagick/ImageMagick/commit/436e5d2589e3c0adc10d9aa189e81d5d088d8207. For .NET applications, upgrade affected Magick.NET NuGet packages (Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-OpenMP-x64) to version 14.10.3 or later. Where immediate patching is not feasible, operators should disable the PCD coder in ImageMagick's policy.xml by adding the directive '<policy domain="coder" rights="none" pattern="PCD" />', which fully eliminates the attack surface at the cost of losing PCD image format support - an acceptable trade-off given the format's rarity in modern workflows. As a shallow complementary control, file upload endpoints can reject .pcd extensions, though this should not substitute for policy.xml hardening or patching, as content-type checks are bypassable.

Affected VersionsENISA

ImageMagick 0 <6.9.13-40
ImageMagick 0 <7.1.2-15

Affected Packages

nuget magick.net-q16-anycpu fix: 14.10.3
nuget magick.net-q16-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-anycpu fix: 14.10.3
nuget magick.net-q16-hdri-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.10.3
nuget magick.net-q16-hdri-openmp-x64 fix: 14.10.3
nuget magick.net-q16-hdri-x64 fix: 14.10.3
nuget magick.net-q16-hdri-x86 fix: 14.10.3
nuget magick.net-q16-openmp-arm64 fix: 14.10.3
nuget magick.net-q16-openmp-x64 fix: 14.10.3
nuget magick.net-q16-openmp-x86 fix: 14.10.3
nuget magick.net-q16-x64 fix: 14.10.3
nuget magick.net-q16-x86 fix: 14.10.3
nuget magick.net-q8-anycpu fix: 14.10.3
nuget magick.net-q8-arm64 fix: 14.10.3
nuget magick.net-q8-openmp-arm64 fix: 14.10.3
nuget magick.net-q8-openmp-x64 fix: 14.10.3
nuget magick.net-q8-x64 fix: 14.10.3
nuget magick.net-q8-x86 fix: 14.10.3
euvd imagemagick fix: 6.9.13-40, 7.1.2-15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 20 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable component is ImageMagick's PCD (Kodak Photo CD) image format coder, specifically the DecodeImage function which parses the legacy PCD raster format. CWE-125 (Out-of-bounds Read) identifies the root cause class: the decoder performs a one-byte read beyond the bounds of an allocated heap buffer during the image decode loop - a classic boundary-check failure in a memory-unsafe image parser. Both major release lines are affected: the 7.x branch (cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* for versions before 7.1.2-15) and the 6.x branch (same CPE pattern, versions before 6.9.13-40). Because Magick.NET - the .NET language binding for ImageMagick distributed via NuGet - wraps the native ImageMagick library, it transitively inherits this vulnerability, affecting packages Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, and Magick.NET-Q16-HDRI-OpenMP-x64 prior to version 14.10.3.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Network-delivered via crafted PCD file; AC:H reflects specific format prerequisites; A:L captures DoS impact that the provided CVSS 4.0 vector incorrectly omits (VA:N).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Jun 21, 2026 - 15:31 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) contains a heap out-of-bounds read in the PCD coder's DecodeImage loop. A crafted PCD file can trigger a one-byte heap out-of-bounds read during image decoding, resulting in denial of service and potential disclosure of an adjacent heap byte.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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