Skip to main content

ImageMagick CVE-2026-61870

| EUVDEUVD-2026-43189 LOW
Memory Leak (CWE-401)
2026-07-11 VulnCheck GHSA-fhrj-r6ww-vq67
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Gain local file submission access
  2. Delivery
    Craft VIFF image to induce allocator failure
  3. Exploit
    Submit image to vulnerable ImageMagick VIFF encoder
  4. Install
    Trigger memory leak on allocation failure
  5. C2
    Repeat submissions to accumulate leaked memory
  6. Execute
    Exhaust system memory
  7. Impact
    Denial of service

Vulnerability Assessment

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

The target system must be running ImageMagick in a version earlier than 7.1.2-26 and must invoke the VIFF encoder - meaning it must process VIFF-format images, either directly via CLI (e.g., 'convert input.viff output.png') or through an application that passes VIFF images to the ImageMagick library. The CVSS 4.0 vector specifies AV:L (local access), AC:H (high complexity requiring attacker-controlled image crafting to trigger allocation failure), and AT:P (additional prerequisites - specific runtime memory pressure conditions must be met to reliably induce the allocator failure that exposes the leak). PR:N indicates no authentication or system privileges are required beyond the ability to submit files to the ImageMagick process. Exploitation is limited by: the local attack vector (no remote exploitation path identified), the requirement that VIFF encoding specifically be invoked (a legacy and non-default format), high attack complexity making reliable triggering difficult, and impact restricted to low availability with no confidentiality or integrity dimension.

Impact

The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) yields a score of 2.1, placing this firmly in the lowest severity tier. The local attack vector (AV:L) restricts exploitation to attackers who can submit files directly to the host running ImageMagick, while high attack complexity (AC:H) and additional prerequisites (AT:P) further constrain exploitability - the attacker must craft VIFF payloads precisely tuned to induce allocator failure under specific runtime conditions. Impact is bounded to low availability (VA:L) on the vulnerable system only; there is no confidentiality or integrity impact and no lateral effect on subsequent systems. No EPSS data was provided, and the vulnerability has not been added to the CISA KEV catalog. No public proof-of-concept exploit code has been identified. In practice, this is a low-priority operational concern: most ImageMagick deployments run in sandboxed or containerized contexts where memory exhaustion would affect only an isolated process, not the broader host. The primary concern would be server-side image processing pipelines accepting untrusted VIFF uploads, which is already a niche configuration.

Exploit ScenarioDerived

An attacker with local file submission access to a system running a vulnerable ImageMagick version crafts a VIFF image with parameters engineered to push the internal allocator toward failure during encoding, inducing the memory leak code path. By submitting batches of such images - for example, through a web application that accepts VIFF uploads and processes them server-side - the attacker accumulates leaked memory across successive ImageMagick invocations until available memory is exhausted and the host process or container becomes unresponsive. No public proof-of-concept exploit code has been identified, and the high attack complexity means reliable triggering requires attacker-side tuning.

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

Memory exhaustion denial of service in ImageMagick before 7.1.2-26 results from an unreleased memory leak in the VIFF image encoder triggered by failed memory allocation during image processing. Locally-positioned attackers without privileges can supply specially crafted VIFF images to repeatedly trigger this leak, gradually exhausting system memory. The CVSS 4.0 score of 2.1 with local attack vector, high complexity, and additional prerequisites indicates this is a low-severity, operationally limited issue; no public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Vendor-released patch: ImageMagick 7.1.2-26. Upgrade to version 7.1.2-26 or later as the primary and preferred remediation, following guidance in the GitHub Security Advisory GHSA-m596-67p7-69wh (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m596-67p7-69wh). Where immediate upgrading is not feasible, operators can disable VIFF format support in ImageMagick by adding 'VIFF' to the disabled coders list in the ImageMagick policy.xml file (e.g., adding a policy element with domain 'coder' and rights 'none' for pattern 'VIFF'), which will prevent the vulnerable encoder from being invoked entirely - this is a low-impact workaround as VIFF is a legacy scientific format rarely required in modern deployments. Additionally, for server-side image processing pipelines, restrict accepted file types at the application layer to exclude VIFF uploads as a defense-in-depth measure. Setting resource limits in ImageMagick policy.xml (e.g., memory, map, and disk limits) can also cap the maximum memory a single invocation can consume, bounding the DoS impact even if the leak is triggered.

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 suite and library used across web applications, CMSes, and server pipelines. The vulnerability resides in the VIFF (Visualization Image File Format) encoder - a codec handling a legacy scientific image format. The root cause is CWE-401 (Missing Release of Memory after Effective Lifetime): when internal memory allocation fails during VIFF encoding, the code path does not properly free previously allocated buffers before returning an error, leaving those buffers unreachable and unreclaimed. By repeatedly submitting crafted VIFF images engineered to induce allocation failures - for example, images with parameters that push the allocator toward failure thresholds - an attacker can accumulate leaked memory across multiple invocations until system memory is exhausted. All ImageMagick versions before 7.1.2-26 are affected per the CPE and GitHub security advisory GHSA-m596-67p7-69wh.

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

Local vector with high complexity to trigger allocator failure; no privileges needed; only low availability impact with no confidentiality or integrity effect.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
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

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

DescriptionCVE.org

ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the VIFF encoder when memory allocation fails. Attackers can trigger allocation failures by processing specially crafted VIFF images to exhaust available memory and cause denial of service.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
widely deployed in web hosting, CMSes, and Linux distributions
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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.1%
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
Small
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

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