Skip to main content

ImageMagick EUVDEUVD-2026-42259

| CVE-2026-56362 LOW
Out-of-bounds Read (CWE-125)
2026-07-08 disclosure@vulncheck.com GHSA-m366-rhm3-cx89
2.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain high-privilege access to image processor
  2. Delivery
    Submit resource-exhausting crafted image
  3. Exploit
    Induce memory or disk allocation failure during OpenPixelCache
  4. Execution
    Channel metadata updates before allocation completes
  5. Persist
    GetPixelIndex reads out-of-bounds heap region
  6. Impact
    Partial heap data disclosure or processing crash

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 high privilege access to the ImageMagick processing context (PR:H per CVSS 4.0 vector) and the ability to create or influence memory or disk allocation failures on the target system (AT:P - a specific precondition). The vulnerable code path is triggered only when OpenPixelCache fails to complete allocation after already writing channel metadata, meaning the attacker must be able to induce resource exhaustion (e.g., memory pressure, disk quota limits) at a precise point during image processing. Any writer that calls GetPixelIndex can serve as the trigger point. Factors limiting exploitation: the PR:H requirement rules out unauthenticated remote attackers; AC:H means timing and resource control must be precise; and the impact is bounded to a partial heap read (VC:L) and limited availability disruption (VA:L) with no integrity compromise.

Impact

The CVSS 4.0 base score of 2.1 accurately reflects a low-priority issue. The vector AV:N/AC:H/AT:P/PR:H signals that exploitation is network-reachable in theory, but requires high attack complexity, specific preconditions (AT:P - the attacker must control or induce resource pressure), and high privilege access (PR:H). Impact is constrained to limited confidentiality (partial heap data leak, VC:L) and limited availability (VA:L, likely a controlled crash or reader abort). No integrity impact is present. There is no CISA KEV listing and no public exploit code reported at time of analysis, making this a low-exploitation-probability finding. EPSS data was not provided in the intelligence feed, but the combination of PR:H requirement, high complexity, and minimal impact metrics suggests this would score very low if calculated. The primary risk scenario involves a privileged internal user or a multi-tenant image processing service where one tenant can influence resource availability for others. This is not a zero-click, unauthenticated mass-exploitation risk.

Exploit ScenarioDerived

A high-privilege user on a shared image processing service submits a crafted image while simultaneously exhausting available memory or disk space on the host, causing OpenPixelCache's pixel buffer allocation to fail after channel metadata has already been updated. GetPixelIndex then performs an out-of-bounds heap read using the stale channel count, potentially leaking a small amount of adjacent heap memory to the caller or crashing the processing thread. No public proof-of-concept code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Jul 08, 2026

Heap-buffer-overflow read in ImageMagick's GetPixelIndex function exposes limited heap memory contents and can cause partial availability impact in affected 6.x and 7.x branches before the patched releases. The root cause is a metadata-allocation race in OpenPixelCache, which updates image channel metadata before confirming successful pixel cache memory allocation, leaving GetPixelIndex to operate on stale channel counts. Exploitation requires high privilege access and the ability to induce memory or disk allocation failures, yielding only limited confidentiality and availability impact; no public exploit code and no CISA KEV listing are associated with this CVE.

RemediationAI

Upgrade ImageMagick to version 7.1.2-15 or later on the 7.x branch, or to version 6.9.13-40 or later on the legacy 6.x branch. Patch details and the upstream security advisory are available at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gq5v-qf8q-fp77. If an immediate upgrade is not feasible, the realistic risk is substantially reduced by the PR:H requirement - restricting who can submit images to the processing pipeline and enforcing resource quotas (ulimit on memory and disk) limits an attacker's ability to induce the allocation failure that triggers the condition. Disabling image writers that call GetPixelIndex (format-specific writers) is a more aggressive workaround but may disrupt legitimate functionality. No side effects of the patch are noted by the vendor.

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 an open-source image processing library and CLI toolkit used heavily in web platforms, CMS pipelines, and cloud media services. The vulnerability resides in the pixel cache subsystem: OpenPixelCache is responsible for allocating the backing store (memory or disk) for image pixels, and it also updates internal channel metadata structures. CWE-125 (Out-of-bounds Read) applies because the metadata - including channel counts that GetPixelIndex uses to compute array offsets - is written before the allocation is confirmed to have succeeded. When an attacker can force allocation failure (e.g., by exhausting system memory or disk quota), GetPixelIndex reads using the already-updated (but now inconsistent) metadata against uninitialized or partially allocated memory, yielding an out-of-bounds heap read. Affected CPE targets both the legacy ImageMagick 6.x branch (prior to 6.9.13-40) and the current 7.x branch (prior to 7.1.2-15).

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

High privileges and precise allocation-failure timing required; impacts limited to partial heap read and minor availability disruption with no integrity effect.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 15:01 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a heap-buffer-overflow read affecting any writer calling GetPixelIndex.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely deployed image processing library across web, CMS, and cloud
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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

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

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