Skip to main content

ImageMagick CVE-2026-56367

| EUVDEUVD-2026-38173 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-21 VulnCheck GHSA-rg39-4fm5-hrp2
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted PSB file to network-accessible image processor
  2. Exploit
    Integer overflow in ReadPSDChannelRLE on 32-bit build
  3. Execution
    Heap out-of-bounds read past allocated channel buffer
  4. Impact
    Leak adjacent heap memory contents or crash process

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

Two specific and concurrent conditions are required for exploitation: (1) the ImageMagick installation must be a 32-bit build - 64-bit builds are explicitly NOT affected because wider integer types prevent the overflow; this is confirmed by the GHSA advisory and ASAN trace, and is encoded in the CVSS 4.0 AT:P metric. (2) the application must accept and process attacker-supplied PSB (Adobe PSD v2) format image files through the RLE decompression path. No authentication is required (PR:N in provided CVSS 4.0) and no user interaction is needed (UI:N), meaning any network-accessible service meeting both conditions is directly exposed. Exploitation is bounded to information disclosure (low confidentiality impact, VC:L) or crash - code execution is not described as an outcome and is not supported by the CWE-125 classification. The crash outcome is more reliably achievable than memory disclosure, which depends on heap layout and whether the application surfaces error details to the requester.

Impact

The CVSS 4.0 score of 6.3 (AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N) correctly reflects a moderate-severity, exploitation-constrained vulnerability. The AT:P metric encodes the 32-bit build precondition - a meaningful real-world limiter given that server-side 32-bit ImageMagick deployments are increasingly rare. High attack complexity (AC:H) further reflects that a carefully crafted PSB file is required to trigger the exact overflow condition. The scored availability impact of VA:N is in tension with the description, which explicitly mentions crash as an outcome alongside information disclosure; in practice, denial of service against image-processing services accepting untrusted PSB input is a realistic secondary impact. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be independently assessed. KEV status is absent, and no public exploit code has been identified - this is not a confirmed in-the-wild exploitation scenario. The most credible real-world risk is against legacy 32-bit ImageMagick deployments in automated content ingestion pipelines where untrusted PSD/PSB files are processed without format pre-filtering.

Exploit ScenarioDerived

An attacker submits a crafted PSB (PSD v2) file to a web service or API backed by a 32-bit ImageMagick build - such as a profile picture upload endpoint or document conversion service. The malformed RLE channel data triggers the integer overflow in ReadPSDChannelRLE at coders/psd.c:1141, causing the process to read 8 bytes beyond the heap-allocated buffer. Depending on heap layout and the application's error-response behavior, the attacker may receive a fragment of adjacent heap memory (potentially containing in-process secrets or file data) embedded in an error message, or the process crashes, causing a denial of service. No public exploit code has been identified at time of analysis.

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

Integer overflow in ImageMagick's PSB/PSD v2 RLE decoder (ReadPSDChannelRLE in coders/psd.c) causes a heap out-of-bounds read exclusively on 32-bit builds, enabling information disclosure or process crash when processing attacker-controlled PSB files. Affected versions span ImageMagick below 7.1.2-15 and 6.9.x below 6.9.13-40, with corresponding Magick.NET NuGet packages below 14.10.3 also confirmed vulnerable. No public exploit code has been identified at time of analysis and no CISA KEV listing exists; the CVSS 4.0 score of 6.3 with AC:H and AT:P reflects that exploitation is constrained to 32-bit deployments processing untrusted PSB input.

RemediationAI

The primary fix is to upgrade ImageMagick to version 7.1.2-15 or later on the 7.x branch, or to 6.9.13-40 or later on the 6.9.x legacy branch; the upstream patch commit is 5b91ab69af614024255fd93dcc9a62b41fbc435c. For .NET consumers, upgrade all affected Magick.NET NuGet packages to version 14.10.3 or later. The vendor advisory is at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-273h-m46v-96q4. For organizations unable to patch immediately and running 32-bit ImageMagick deployments, two compensating controls are available: first, block PSB/PSD v2 format processing by adding a deny policy for the PSD coder in ImageMagick's policy.xml - trade-off is that all PSD processing will fail, which may break legitimate workflows; second, migrate to 64-bit builds of ImageMagick, which eliminates the integer overflow condition entirely without restricting format support and is strongly preferred as an interim measure. Input file type validation at the application boundary (rejecting PSB/PSD MIME types or magic bytes before passing to ImageMagick) also reduces exposure.

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

ImageMagick is a widely deployed open-source image manipulation library and CLI toolchain used across web applications, content pipelines, and .NET ecosystems via Magick.NET wrappers. The vulnerability resides in ReadPSDChannelRLE within coders/psd.c, which handles RLE decompression of per-channel pixel data in Adobe PSD v2 (PSB) format files. CWE-125 (Out-of-bounds Read) identifies the root cause class: on 32-bit builds, size calculations during RLE decoding use 32-bit integer arithmetic that overflows, causing a computed buffer length to wrap below its intended value. Subsequent heap reads then extend past the allocated region, as confirmed by the ASAN trace in GHSA-273h-m46v-96q4 showing a READ of size 8 at coders/psd.c:1141. The overflow condition does not arise on 64-bit builds because the wider native integer types absorb the computation without wrapping. Affected CPEs are cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* for both the 6.x and 7.x branches.

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 reachable but high complexity from 32-bit precondition; no auth; low confidentiality from heap leak; low availability added for confirmed crash outcome.

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
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Red Hat 4.2 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.9.x before 6.9.13-40 contains an integer overflow in the PSB (PSD v2) RLE decoding path (ReadPSDChannelRLE in coders/psd.c) that causes a heap out-of-bounds read on 32-bit builds. Processing a crafted PSB file can lead to information disclosure or a crash.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Data Quality
7 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.

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

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

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