Skip to main content

ImageMagick CVE-2026-56370

| EUVDEUVD-2026-38756 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-24 VulnCheck
Medium
Disputed · 4.8 Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malformed connected-components artifact with invalid index
  2. Delivery
    Deliver input to ImageMagick CLI invocation
  3. Exploit
    Trigger OOB read in ConnectedComponentsImage()
  4. Execution
    Access violation occurs
  5. Impact
    Denial of service or potential code execution

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 an attacker control the connected-components:* artifact definitions passed to ImageMagick via the CLI, either directly (local shell access without elevated privileges) or indirectly through an application that constructs ImageMagick CLI invocations from attacker-influenced input. The CVSS vector specifies UI:P (passive user interaction), meaning a human or automated process must invoke ImageMagick against the malformed input. Exploitation is limited by the local attack vector (AV:L) - purely network-reachable exploitation without some intermediate application layer constructing the CLI call is not supported by the available data. No authentication is required to run the ImageMagick CLI itself (PR:N), but an attacker must reach a context where they can influence CLI arguments or provide a specially crafted input file to a process that uses connected-components functionality.

Impact

The CVSS 4.0 score of 4.8 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N reflects a local, low-complexity attack requiring passive user interaction, with only low availability impact on the vulnerable system. This is a conservative scoring - the vendor tags include RCE and Information Disclosure, which are not reflected in the VC:N/VI:N vector metrics. There is a notable tension between the tags and the CVSS vector: the CWE-125 (OOB Read) root cause can yield memory disclosure and, under favorable attacker-controlled conditions, code execution, yet the 4.0 vector does not assign confidentiality or integrity impact. This discrepancy should be verified with the vendor advisory (GHSA-pmpg-6pww-fg6q). No EPSS score was provided in the input data. The vulnerability is not in CISA KEV and no public proof-of-concept exploit is identified at time of analysis, which substantially lowers near-term operational risk. However, environments that pipe untrusted user-supplied images through ImageMagick in automated or batch workflows should treat this as elevated priority due to the potential RCE tail risk.

Exploit ScenarioDerived

An attacker with the ability to influence CLI arguments passed to an ImageMagick invocation - for example, through a web application that constructs ImageMagick commands incorporating user-supplied parameters, or a batch processing pipeline ingesting attacker-controlled files with embedded artifact metadata - supplies a connected-components:* define containing an out-of-range index. ImageMagick's ConnectedComponentsImage() reads beyond the allocated buffer, causing an access violation that crashes the process or, under suitable memory layout conditions, redirects execution. No public proof-of-concept exploit is known at this time.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Out-of-bounds read in ImageMagick's ConnectedComponentsImage() function allows local attackers to trigger access violations by supplying malformed connected-components artifact definitions via the CLI, leading to denial of service or potential arbitrary code execution. All ImageMagick releases before 7.1.2-19 are affected, as are Magick.NET NuGet packages before 14.12.0. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the RCE and information-disclosure tags warrant attention in environments that process untrusted image inputs through automated pipelines.

RemediationAI

Vendor-released patch: upgrade ImageMagick to 7.1.2-19 or later. For .NET consumers, upgrade all affected Magick.NET NuGet packages (Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-arm64) to version 14.12.0 or later. Consult the official advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmpg-6pww-fg6q for confirmation. As a compensating control prior to patching, restrict the ability of untrusted users or external input to supply connected-components:* artifact definitions via CLI; in pipeline contexts, sanitize or reject image inputs that include define directives before passing them to ImageMagick. Note that this workaround may break legitimate connected-components workflows and is not a substitute for the upstream fix.

Affected VersionsENISA

ImageMagick 0 <6.9.13-44
ImageMagick 0 <7.1.2-19

Affected Packages

nuget magick.net-q16-anycpu fix: 14.12.0
nuget magick.net-q16-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-anycpu fix: 14.12.0
nuget magick.net-q16-hdri-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.12.0
nuget magick.net-q16-hdri-openmp-x64 fix: 14.12.0
nuget magick.net-q16-hdri-x64 fix: 14.12.0
nuget magick.net-q16-hdri-x86 fix: 14.12.0
nuget magick.net-q16-openmp-arm64 fix: 14.12.0
nuget magick.net-q16-openmp-x64 fix: 14.12.0
nuget magick.net-q16-x64 fix: 14.12.0
nuget magick.net-q16-x86 fix: 14.12.0
nuget magick.net-q8-anycpu fix: 14.12.0
nuget magick.net-q8-arm64 fix: 14.12.0
nuget magick.net-q8-openmp-arm64 fix: 14.12.0
nuget magick.net-q8-openmp-x64 fix: 14.12.0
nuget magick.net-q8-x64 fix: 14.12.0
nuget magick.net-q8-x86 fix: 14.12.0
euvd imagemagick fix: 6.9.13-44, 7.1.2-19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 19 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's connected-components image processing feature exposes user-controllable artifact definitions via the CLI flag pattern connected-components:*. The ConnectedComponentsImage() function fails to validate that artifact-specified indices fall within the bounds of the underlying data structure, producing a CWE-125 (Out-of-bounds Read) condition. When an invalid index is supplied, the function reads memory beyond the allocated buffer, which at minimum causes an access violation and process crash. Because out-of-bounds reads can in certain memory layouts yield exploitable conditions, the vendor and VulnCheck tag this as potentially reaching remote code execution, though the CVSS 4.0 vector conservatively scores only low availability impact. Affected CPEs cover the full ImageMagick application line (cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*) and the corresponding Magick.NET NuGet wrappers across Q16, Q16-HDRI, and ARM64 variants.

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

Sources disagree (Low–High)
Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Local CLI vector with no required privileges; user interaction required to process input; OOB read yields low confidentiality and availability impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 3.3 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
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
Jun 24, 2026 - 13:01 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-19 contains an out-of-bounds access vulnerability in ConnectedComponentsImage() when processing connected-components artifacts with invalid indices. Attackers can trigger access violations by specifying malformed connected-components definitions via CLI, causing denial of service or potential code execution.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely-used open-source image processing library across Linux, web, and pipeline deployments
Data Quality
6 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.1%
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
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

SUSE

Severity: Important
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