Skip to main content

ImageMagick EUVDEUVD-2026-140267

| CVE-2026-140376 LOW
Use After Free (CWE-416)
2026-12-01 VulnCheck GHSA-5f23-vxmj-pjjx
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted MPC image plus cache file
  2. Exploit
    Trigger use-after-free in MPC decoder
  3. Impact
    Crash ImageMagick, causing denial of service

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 the attacker to supply a specifically crafted MPC (Magick Persistent Cache) image AND its associated .cache file - the MPC format stores image data in a paired .mpc/.cache set, and both the crafted image and matching cache file must be processed by ImageMagick's MPC decoder to trigger the use-after-free. Limiting factors: the vector is local (AV:L), the attack carries a specific requirement (AT:P) of delivering the matching file pair, and complexity is high (AC:H), so this is not remote unauthenticated exploitation against a default configuration. MPC is a non-standard, ImageMagick-specific format not typically accepted from untrusted sources, which further narrows realistic exposure to deployments that decode attacker-influenced MPC/cache content. Maximum outcome is a crash (denial of service); no code execution or data disclosure is indicated.

Impact

This is a low-priority issue despite being a memory-corruption (use-after-free, CWE-416) flaw. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N) scores only 2.1 because the sole impact is availability (VA:L) - a crash/denial of service - with no confidentiality or integrity impact (VC:N/VI:N). All decision signals agree and reinforce each other rather than conflict: vuln.today assigns 'monitor', CISA SSVC reports Exploitation: none, Automatable: no, Technical Impact: partial, and there is no CISA KEV listing. No EPSS score was provided in the input, so exploitation probability cannot be quantified here. The local attack vector (AV:L) plus the attack requirement (AT:P) - the attacker must supply BOTH a crafted MPC image and its matching cache file - and high attack complexity (AC:H) mean this is not a remotely automatable, wormable condition. The one caveat worth verifying: AV:L is appropriate because exploitation hinges on getting a locally-processed file pair to the decoder, but an application that automatically ingests user-uploaded MPC content could reduce that friction; even then the ceiling is a crash, not code execution. Net: a real bug with a vendor patch, but a low-urgency, defense-in-depth fix rather than an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious MPC image file together with its associated .cache file and delivers the pair to a system that will decode it with ImageMagick (for example, a service that processes locally-supplied or uploaded MPC content). When ImageMagick's MPC decoder processes the crafted pair, it reuses freed memory, causing the application to crash and denying service. No public exploit code was identified at time of analysis; VulnCheck and the ImageMagick project published advisories only.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

A use-after-free (CWE-416) in the MPC (Magick Persistent Cache) image decoder of ImageMagick allows an attacker who supplies a crafted MPC image together with its matching .cache sidecar file to trigger a memory-corruption crash, resulting in denial of service. All ImageMagick releases before 6.9.13-61 in the 6.x branch and before 7.1.2-36 in the 7.x branch are affected. The issue is rated low severity (CVSS 4.0 base 2.1; independently assessed as CVSS 3.1 AV:L/AC:H/PR:N/UI:N/A:L) because the vector is local, the attack requires delivery of a specifically matched image-plus-cache pair, and the maximum demonstrated outcome is a crash with no code execution or data disclosure indicated; no public exploit code has been identified at time of analysis and CISA SSVC records no exploitation, with the priority label assessed as monitor.

RemediationAI

Vendor-released patches are available: upgrade to ImageMagick 7.1.2-36 or later on the 7.x branch, or to 6.9.13-61 or later on the 6.x branch, as documented in the GitHub security advisory GHSA-v56x-r6p7-8v88. No workaround is described in the available sources; the practical compensating control, given that MPC is an ImageMagick-specific intermediate cache format normally used as a processing byproduct rather than an untrusted input type, is to prevent MPC content from reaching the decoder at all - for example by excluding .mpc/.cache pairs from upload and conversion pipelines, restricting file-type acceptance at the application layer, and ensuring the MIME/extension allowlist used by the caller does not include MPC - with the trade-off that legitimate multi-step MPC-based workflows would need to be re-architected. Removing write access to image cache directories or disabling persistent cache directories in the policy.xml coder policy may also reduce exposure but does not address the decoder flaw itself, so applying the fixed release remains the only complete fix.

Affected VersionsENISA

ImageMagick 0 <6.9.13-61
ImageMagick 7.0.0 <7.1.2-36

Affected Packages

euvd imagemagick fix: 6.9.13-61, 7.1.2-36

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

MPC is ImageMagick's own Magick Persistent Cache format, a two-file scheme in which a small .mpc header/index file references pixel data stored in a paired .cache file, so the decoder must open, map and keep references to both artifacts in a coordinated way. The root cause is a use-after-free (CWE-416): processing a crafted MPC image in conjunction with its associated cache file leaves a dangling reference that is subsequently dereferenced, corrupting memory and crashing the process. The supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N/VA:L) and the independent CVSS 3.1 assessment (AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) both characterize this as a local, high-complexity condition that requires the attacker to control the specific matched file pair presented to the decoder; the sources do not describe the precise code path in which the freed object is reused, so the exact trigger sequence beyond the image-plus-cache pairing is not documented in the available evidence. MPC is a non-standard, ImageMagick-specific intermediate format not typically accepted from untrusted input, which further limits realistic exposure to pipelines or services that explicitly decode attacker-influenced MPC content.

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 because a crafted MPC image plus its matching cache file must be processed (AV:L, AC:H); no auth needed (PR:N); impact is a crash only, so C:N/I:N and A:L.

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

2
Patch available
Dec 01, 2026 - 16:02 EUVD
CVE Published
Dec 01, 2026 - 14:29 cve.org
LOW 2.1

DescriptionCVE.org

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the MPC image decoder when processing a crafted MPC image together with its associated cache file. Attackers who supply such a crafted MPC image and cache file can trigger the use after free, crashing the application and causing a denial of service.

Threat Intelligence Overview

Prevalence
High
ImageMagick is a widely deployed image-processing library across web and enterprise stacks
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 N/A
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
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

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.

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