Skip to main content

Magick.NET CVE-2026-46692

MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-05-22 https://github.com/ImageMagick/ImageMagick GHSA-p93h-f2jc-477j
4.1
CVSS 3.1 · Vendor: https://github.com/ImageMagick/ImageMagick
View

Attack ChainAIDerived

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

  1. Access
    Identify running distribute-cache service
  2. Delivery
    Establish connection to service endpoint
  3. Exploit
    Send malformed/oversized cache request
  4. Execution
    Trigger heap buffer over-write in server
  5. Persist
    Crash server process
  6. Impact
    Deny image processing service availability

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 the ImageMagick distributed pixel cache server is actively running via magick -distribute-cache - this feature is not enabled or started by default in standard ImageMagick or Magick.NET deployments and must be explicitly launched. Per CVSS AV:L/PR:H, the vector implies local access with high privilege requirements, meaning an attacker would need both local system access and elevated privileges to reach the service under the CVSS framing. However, the description's phrasing ('an attacker who can connect to') introduces ambiguity about whether the service could be reachable over a network interface, which is unresolved from available data. Exploitation is further constrained by AC:H (high attack complexity), suggesting reliable triggering of the overflow may require precise conditions or timing. Impact is limited to availability (DoS) - no confidentiality or integrity compromise is possible per CVSS. Defenders should assess whether distribute-cache is actually running in their environments before treating this as a priority.

Impact

The CVSS 4.1 score reflects a constrained risk profile: AV:L (local attack vector), AC:H (high attack complexity), PR:H (high privileges required), with impact solely on availability (A:H) and no confidentiality or integrity impact. These constraints significantly limit real-world exploitability under normal conditions. However, a material discrepancy exists between the CVSS vector and the vulnerability description - 'an attacker who can connect to a magick -distribute-cache service' implies the possibility of network-reachable exploitation, which would align more closely with AV:N rather than AV:L. This discrepancy must be verified with the vendor, as it is not resolvable from the available data alone. No EPSS score was provided, preventing probabilistic exploitation likelihood assessment. The vulnerability is not listed in CISA KEV and no POC is publicly identified, suggesting limited active threat activity. Given the restricted scope (distribute-cache must be explicitly started, AV:L/PR:H per CVSS), this is likely a lower operational priority than the A:H availability impact alone would suggest, but the AV:L vs. network-service discrepancy is the key unresolved risk factor.

Exploit ScenarioDerived

An attacker with access to a host running magick -distribute-cache - either locally with elevated privileges (per CVSS AV:L/PR:H) or potentially over the network if the service is exposed (per the description's connectivity framing) - sends a specially crafted request to the cache server. The malformed input triggers a heap buffer over-write within the server process, causing it to crash and resulting in denial of service for any image processing workflows relying on the distributed cache. No public POC 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.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 23, 2026

Heap buffer over-write in ImageMagick's distributed pixel cache server (magick -distribute-cache) allows an attacker who can connect to the service to corrupt the server process's heap memory, resulting in a high-severity denial-of-service condition. All Magick.NET NuGet package variants (Q16, HDRI, OpenMP, across arm64/x64/x86/AnyCPU architectures) prior to version 14.12.0 are confirmed affected. No public exploit has been identified at time of analysis and the vulnerability does not appear in CISA KEV; however, a notable discrepancy exists between the CVSS attack vector (AV:L, local) and the description's implication of service-level connectivity, which warrants independent verification before fully trusting the low CVSS score.

RemediationAI

Vendor-released patch: 14.12.0. Upgrade all Magick.NET NuGet packages to version 14.12.0 or later immediately; this fix is confirmed across all Q16, HDRI, OpenMP, and architecture variants per the GitHub Security Advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-p93h-f2jc-477j. If immediate upgrade is not feasible, the primary compensating control is to ensure the magick -distribute-cache server is not running or is not exposed: do not launch the distribute-cache daemon in production environments unless explicitly required, and if required, restrict access to the service port via host-based firewall rules to trusted IP addresses only. The trade-off of disabling distribute-cache is loss of distributed pixel cache offload capability, which may impact performance for very large image processing workloads. There is no known workaround that preserves distribute-cache functionality while neutralizing the vulnerability.

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-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

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 17 packages in nuget

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 ImageMagick's distributed pixel cache subsystem, which allows offloading large image pixel buffers to a remote or local cache server process launched via magick -distribute-cache. CWE-122 (Heap-based Buffer Overflow) indicates that the root cause is a write operation that exceeds the bounds of a heap-allocated buffer - likely during request parsing or pixel cache data handling within the server process. The affected packages are the official .NET bindings for ImageMagick distributed via NuGet under the Magick.NET umbrella, spanning multiple build configurations: standard Q16 (16-bit quantum depth), HDRI (High Dynamic Range Imaging), and OpenMP-accelerated variants, across x86, x64, arm64, and AnyCPU targets. Because the distribute-cache server is a standalone process that accepts incoming connections, any client-supplied data that reaches the vulnerable buffer handling code is attacker-controlled.

Know when the next one hits your stack

  • 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 (https://github.com/ImageMagick/ImageMagick) PRIMARY 4.1 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.9 MEDIUM

Primary rating from Vendor (https://github.com/ImageMagick/ImageMagick).

CVSS VectorVendor: https://github.com/ImageMagick/ImageMagick

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

DescriptionCVE.org

An attacker who can connect to a magick -distribute-cache service can cause a heap buffer over-write in the server process.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS GHSA 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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Affected Products (CPE)CVE.org

pkg:nuget/magick.net-q16-anycpu
pkg:nuget/magick.net-q16-hdri-anycpu
pkg:nuget/magick.net-q16-hdri-openmp-arm64
pkg:nuget/magick.net-q16-hdri-arm64
pkg:nuget/magick.net-q16-hdri-x64
pkg:nuget/magick.net-q16-hdri-x86
pkg:nuget/magick.net-q16-openmp-arm64
pkg:nuget/magick.net-q16-openmp-x64
pkg:nuget/magick.net-q16-arm64
pkg:nuget/magick.net-q16-x64
pkg:nuget/magick.net-q16-x86
pkg:nuget/magick.net-q8-anycpu
pkg:nuget/magick.net-q8-openmp-arm64
pkg:nuget/magick.net-q8-openmp-x64
pkg:nuget/magick.net-q8-arm64
pkg:nuget/magick.net-q8-x64
pkg:nuget/magick.net-q8-x86

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

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