Skip to main content

ImageMagick EUVDEUVD-2026-43188

| CVE-2026-61861 MEDIUM
Use After Free (CWE-416)
2026-07-11 VulnCheck GHSA-vg96-jmxw-665f
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit memory-exhausting crafted image
  2. Delivery
    Invoke FormatMagickCaption processing path
  3. Exploit
    Trigger heap allocation failure mid-method
  4. Execution
    Dangling pointer retained on error exit
  5. Persist
    Dereference freed memory
  6. Impact
    Crash process (DoS) or corrupt heap for code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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 ImageMagick is running a version before 7.1.2-26 AND that the FormatMagickCaption code path is triggered - this path is exercised when processing images with caption or label metadata or when those ImageMagick operations are explicitly invoked. A memory allocation failure must be induced during this processing step, typically by submitting an image or payload engineered to exhaust the process's available heap. The CVSS 4.0 AT:P metric confirms that specific attack prerequisites beyond default operation must be met. No authentication is required if ImageMagick is processing remotely submitted images (AV:N, PR:N), but high attack complexity (AC:H) means that achieving reliable, repeatable exploitation - especially for code execution - demands more than a trivial crafted file. What limits exploitation: the requirement to reliably trigger memory allocation failure (not guaranteed from the image alone), absence of confirmed exploit code, and the need for heap-grooming if targeting code execution rather than crash.

Impact

The CVSS 4.0 score of 6.3 with AV:N/AC:H/AT:P reflects a network-reachable but condition-dependent vulnerability - an attacker must induce a memory allocation failure during caption processing, which requires specific memory pressure circumstances beyond routine image submission. The impact metrics (VC:N/VI:N/VA:L, no subsequent-system impact) indicate confirmed risk is limited to availability, which conflicts with the 'RCE' intelligence tag; the CVE description qualifies code execution only as 'potentially enabling,' not confirmed. This discrepancy should be verified against the full vendor advisory at GHSA-qvxh-prvr-85w2. No EPSS probability data was provided, preventing quantitative likelihood scoring. The absence of CISA KEV listing and the lack of confirmed public exploit code lower operational urgency relative to the nominal CVSS score. This is a real but condition-constrained vulnerability - not a drive-by critical, but worth patching promptly given ImageMagick's broad attack surface in image-processing pipelines.

Exploit ScenarioDerived

An attacker submits a crafted image to a web application that passes user-supplied content through ImageMagick with caption or label processing enabled. The image is constructed to exhaust available memory during processing, inducing an allocation failure inside FormatMagickCaption that leaves a dangling pointer; on subsequent dereference, the service crashes (denial of service). Reliable arbitrary code execution would require additional heap-grooming to control freed memory contents, consistent with the AC:H rating, and is a realistic but harder follow-on goal with no public exploit confirmed.

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

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

Alert me

AnalysisAIv1 – Jul 11, 2026

Use-after-free in ImageMagick before 7.1.2-26 exposes servers that process untrusted images to denial of service and potential code execution via a dangling pointer in the FormatMagickCaption method when memory allocation fails. The CVSS 4.0 vector scores this at 6.3, reflecting high attack complexity (AC:H) and specific prerequisite conditions (AT:P), though intelligence tags flag RCE - a claim the vendor CVSS impact metrics do not fully corroborate, as only low availability impact is scored. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade ImageMagick to version 7.1.2-26 or later, which resolves this use-after-free condition. The vendor security advisory is at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvxh-prvr-85w2. If an immediate upgrade is not feasible, restrict untrusted image inputs by enforcing ImageMagick policy.xml resource limits - specifically, set conservative values for the 'memory' and 'map' resource limits (e.g., '-limit memory 256MiB') to reduce the likelihood of triggering allocation failures; note this trade-off may cause legitimate large-image processing to fail. Additionally, sandboxing ImageMagick worker processes using seccomp profiles, containers with dropped capabilities, or dedicated low-privilege service accounts limits blast radius if the use-after-free is exploited. Blocking caption or label processing for untrusted inputs via policy.xml ('disable' the 'caption' coder) is a targeted control if that feature is non-essential.

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 is an open-source image processing library (CPE: cpe:2.3:a:imagemagick:imagemagick) used extensively for server-side image manipulation across web applications, CMS platforms, and automated media pipelines. The affected code path is the FormatMagickCaption method, which handles text caption formatting during image processing. CWE-416 (Use After Free) arises when memory is freed but a pointer to that allocation is retained and later dereferenced. In this case, a memory allocation failure inside FormatMagickCaption causes the method to exit an error path without nullifying the associated pointer, leaving it dangling. Any subsequent dereference of that pointer operates on freed heap memory, which can corrupt heap state. Reliable code execution from this class of bug typically requires heap-grooming to control the freed memory contents, consistent with the AC:H classification in the CVSS 4.0 vector.

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 but requires induced allocation failure (AC:H, PR:N); only availability impact confirmed by vendor scoring, with no confidentiality or integrity impact.

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 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.9 MEDIUM

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

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

DescriptionCVE.org

ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely deployed image processing library across web stacks and CMS platforms
Social Media
3
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: Low
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
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Fixed

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