Skip to main content

ImageMagick CVE-2026-61871

| EUVDEUVD-2026-44619 MEDIUM
Memory Leak (CWE-401)
2026-07-15 VulnCheck GHSA-42mf-mh48-7gjj
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted ICON file via upload endpoint
  2. Delivery
    ImageMagick ICON decoder invoked
  3. Exploit
    Memory allocation failure triggered mid-parse
  4. Execution
    Allocated buffers not freed on error path
  5. Persist
    Memory leak accumulates across repeated requests
  6. Impact
    Process memory exhausted, service unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

The target system must process attacker-supplied ICON format files using a vulnerable version of ImageMagick (before 7.1.2-26 or before 6.9.13-51). Exploitation requires triggering a memory allocation failure during ICON decoding, which depends on the system being under sufficient memory pressure - this is the basis for the AC:H and AT:P CVSS ratings and makes reliable exploitation non-trivial. No authentication is required (PR:N per CVSS), meaning any system exposing ImageMagick-based image processing to unauthenticated input is in scope. There is no confidentiality or integrity impact; exploitation is limited solely to availability. Exploitation is bounded by the need to induce allocation failure and is not automatable at scale against arbitrary targets.

Impact

The CVSS 4.0 score of 6.3 with vector AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N appropriately characterizes this as a moderate, non-trivial issue. Availability impact is rated Low (VA:L), with no confidentiality or integrity exposure whatsoever. The AC:H and AT:P metrics are critical context: reliably triggering a malloc failure in a controlled way is non-trivial and depends on the memory state of the target system, making this difficult to weaponize reliably at scale. There is no CISA KEV entry, no publicly available exploit code, and no EPSS data provided. The real-world priority is low for most environments: services with strict resource limits or those processing high volumes of untrusted images represent the highest-risk deployments. This is a maintenance-class patch rather than an emergency response item, unless the environment has specific denial-of-service sensitivity requirements.

Exploit ScenarioDerived

An attacker submits a maliciously crafted ICON file to a web application or API endpoint that passes user-supplied images through ImageMagick for processing (e.g., thumbnail generation, format conversion). The crafted file is designed to provoke a memory allocation failure within the ICON decoder. With no public exploit confirmed, this most likely requires iterative tuning by the attacker; however, repeated successful submissions would gradually exhaust available memory in the ImageMagick worker process, eventually causing a denial of service.

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 – Jul 15, 2026

Memory leak in ImageMagick's ICON decoder exposes services that process user-supplied images to a potential denial of service. Both the 7.x and 6.x release branches are affected - specifically versions before 7.1.2-26 and 6.9.13-51 respectively. An unauthenticated remote attacker (per CVSS PR:N) who can supply a crafted ICON file to an ImageMagick-processing endpoint can repeatedly trigger allocation failures that are never cleaned up, gradually exhausting process memory. No public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to ImageMagick 7.1.2-26 or later (for 7.x deployments) or 6.9.13-51 or later (for 6.x deployments) as documented in the vendor security advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h58x-r7f7-rh84. These are the exact fix versions confirmed by the vendor. For environments where immediate patching is not feasible, a practical compensating control is to restrict or disable processing of ICON format files at the application or policy layer - ImageMagick's policy.xml can be used to deny the ICON coder entirely (e.g., adding a deny policy for the ICO delegate), with the trade-off that ICO/ICON file processing will be rejected. Additionally, enforcing strict memory limits on ImageMagick worker processes (via ulimit, cgroups, or container resource constraints) can bound the impact of repeated leaks, though this does not eliminate the vulnerability.

Affected VersionsENISA

ImageMagick 0 <7.1.2-26
ImageMagick 0 <6.9.13-51

Affected Packages

nuget magick.net-q16-anycpu fix: 14.15.0
nuget magick.net-q16-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-anycpu fix: 14.15.0
nuget magick.net-q16-hdri-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-x64 fix: 14.15.0
nuget magick.net-q16-hdri-x86 fix: 14.15.0
nuget magick.net-q16-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-openmp-x64 fix: 14.15.0
nuget magick.net-q16-x64 fix: 14.15.0
nuget magick.net-q16-x86 fix: 14.15.0
nuget magick.net-q8-anycpu fix: 14.15.0
nuget magick.net-q8-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-x64 fix: 14.15.0
nuget magick.net-q8-x64 fix: 14.15.0
nuget magick.net-q8-x86 fix: 14.15.0
euvd imagemagick fix: 6.9.13-51, 7.1.2-26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 18 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 (CPE: cpe:2.3:a:imagemagick:imagemagick) is a widely used open-source image processing library and CLI tool. The ICON decoder is the component responsible for parsing Windows ICO/ICON format files. CWE-401 (Missing Release of Memory after Effective Lifetime) is the root cause: when a memory allocation fails during ICON decoding, the error path does not properly free previously allocated buffers, creating a resource leak. In long-running processes or services that handle many requests - such as web applications using ImageMagick via PHP, Ruby, or Python bindings - repeated exploitation of this path accumulates leaked memory until the process is terminated or becomes unresponsive. The CVSS 4.0 vector's AT:P (attack requirements present) reflects that triggering a genuine allocation failure requires some level of memory pressure or resource contention on the target system.

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:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-reachable via file upload with no auth needed (PR:N), but AC:H because triggering a malloc failure requires specific memory pressure conditions; availability impact is Low with no C/I exposure.

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

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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
CVE Published
Jul 15, 2026 - 11:25 cve.org
MEDIUM 6.3

DescriptionCVE.org

ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the ICON decoder that occurs when a memory allocation fails. Processing a crafted ICON file that triggers an allocation failure leaks memory, which may lead to a denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
widely deployed image processing library across web stacks and CMS platforms
Data Quality
5 sources
Confidence: Medium
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
Open
Automatable
No
Human Impact· derived
High
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

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: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed

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