Skip to main content

ImageMagick CVE-2026-106574

| EUVDEUVD-2026-94393 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-10-07 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Connect to distributed pixel cache server
  2. Delivery
    Send crafted pixel/metacontent data
  3. Exploit
    Trigger integer-size calculation error
  4. Execution
    Overwrite heap buffer
  5. Impact
    Crash DPC server (denial of service)

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 target run ImageMagick's distributed pixel cache (DPC) server - an opt-in clustering feature that is NOT enabled in default ImageMagick installations and is not reachable through ordinary image-conversion or CMS upload paths. The attacker must be able to reach the DPC listener as a connecting client (CVSS AV:A indicates an adjacent/trusted-network position rather than arbitrary Internet access), then send crafted pixel data whose metacontent_extent causes the packet_size integer calculation to overflow, producing a heap overwrite. No authentication is needed (PR:N) and no user interaction is required (UI:N). Limiting factors: the non-default DPC deployment mode, the adjacent-network reachability requirement, and the impact being confined to a server crash (availability only; no code execution or data disclosure indicated).

Impact

This is a moderate, availability-only issue, not a top-tier priority. The CVSS 3.1 base score of 5.3 (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a crash-only outcome: no confidentiality or integrity impact, only a denial of service against the distributed pixel cache (DPC) server. No EPSS score was supplied, the CVE is not listed in CISA KEV, and no public exploit was provided, so exploitation status is 'no public exploit identified at time of analysis.' The single meaningful risk amplifier is PR:N (the connecting client need not authenticate), but this is tempered heavily by the fact that the DPC server is a non-default, opt-in clustering feature that must be explicitly started and is normally confined to a trusted adjacent network (AV:A). One signal to verify: the vendor-assigned AC:H implies some non-trivial condition to trigger the integer-size miscalculation, yet the source-code fix (a simple HeapOverflowCheckAdd guard on packet_size) and the description ('send crafted pixel data') suggest a straightforward crafted-input trigger rather than a race - AC may realistically be Low, with the true barrier being the non-default DPC deployment rather than attack complexity. Net: patch in environments running the distributed pixel cache, but this does not warrant emergency prioritization for the vast majority of ImageMagick deployments that never enable DPC.

Exploit ScenarioDerived

An organization runs an ImageMagick distributed pixel cache server to share pixel caches across a processing cluster. An attacker with access to that adjacent/trusted network connects to the DPC port as a client and sends crafted pixel data whose metacontent extent forces an integer-size calculation error, producing a heap buffer overwrite that crashes the server and disrupts dependent image-processing workloads. No public exploit code was provided in the source data.

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 – Oct 07, 2026

Heap buffer overflow in ImageMagick's distributed pixel cache (DPC) server (versions prior to 7.1.2-31) allows an unauthenticated adjacent-network attacker to crash the server by sending crafted pixel data that causes an integer overflow in the packet size calculation. Exploitation requires the target to run the opt-in DPC clustering feature, which is not enabled by default and is not reachable via normal image processing paths. No public exploit identified at time of analysis. This is a moderate availability-only issue (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H per independent assessment).

RemediationAI

Upgrade to ImageMagick 7.1.2-31 or later; this release contains the vendor-released patch (commit c69f54e1c8660e45f2ff83c354bf924a946d9356) that fixes the integer overflow. If upgrading is not immediately possible, the most effective mitigation is to disable the distributed pixel cache (DPC) server if it is not required, since the feature is opt-in and not part of default operations. If DPC must be used, restrict network access to the DPC listener to trusted hosts only (e.g., firewall rules limiting to specific IPs or internal networks), understanding that this reduces the availability benefits of distributed caching. There is no workaround that allows continued untrusted exposure. Monitor for crashes as an indicator of exploitation attempts. See advisory https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-4fq9-vrx7-gv92.

Affected VersionsENISA

ImageMagick < 7.1.2-31

Affected Packages

euvd imagemagick fix: 7.1.2-31

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

ImageMagick's distributed pixel cache (DPC) is a client-server feature that allows remote pixel cache storage for clustered image processing. The vulnerability resides in OpenPixelCache within MagickCore/cache.c. The code fails to properly validate the sum of packet_size and cache_info->metacontent_extent, leading to an integer overflow (CWE-122 heap-based buffer overflow). A malicious DPC client can send crafted pixel data with a metacontent_extent value that triggers the overflow, resulting in a heap buffer overwrite and subsequent server crash. The fix (commit c69f54e1c8660e45f2ff83c354bf924a946d9356) corrects the check to use cache_info->metacontent_extent and introduces HeapOverflowCheckAdd to prevent the overflow. CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* indicates all versions prior to 7.1.2-31 are affected. CVSS vector per vendor: AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H; independent assessment adjusts AC to Low, noting the attack is straightforward once DPC is reachable.

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 (GitHub_M) PRIMARY 5.3 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

DPC server is reached over an adjacent/trusted network (AV:A), crafted pixel data triggers the overflow directly so AC:L; unauthenticated client (PR:N); crash-only, hence A:H with C:N/I:N.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Oct 07, 2026 - 17:18 EUVD
CVE Published
Oct 07, 2026 - 15:35 cve.org
MEDIUM 5.3

DescriptionCVE.org

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31, a client connected to the distributed pixel cache server can send crafted pixel data that triggers an integer-size calculation error and a heap buffer overwrite, crashing the server. This issue is fixed in version 7.1.2-31.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
ImageMagick is ubiquitous, but the vulnerable distributed pixel cache server is rarely enabled
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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
Controlled
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

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

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