Skip to main content

ImageMagick EUVDEUVD-2026-140201

| CVE-2026-140352 LOW
Use After Free (CWE-416)
2026-12-01 VulnCheck GHSA-295p-8mg6-pvj5
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 image for ASHLAR encoding
  2. Exploit
    Trigger specific failure during multi-threaded encode
  3. Execution
    Race accesses freed memory (use-after-free)
  4. Impact
    Process crash or memory corruption

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 (1) local ability to drive ImageMagick into the ASHLAR encoding path - i.e. the application must be configured or induced to encode an image as ASHLAR; (2) multi-threaded encoding, since the use-after-free arises from concurrency between threads; and (3) occurrence of the 'specific failure' during encoding that frees memory still in use. Limiting factors: AV:L means no remote network vector, AC:H and AT:P reflect that the attacker cannot reliably force the race/failure window, and the ASHLAR encoder is a niche code path rather than a default-exercised one. No authentication-level qualifier is asserted beyond the vector (PR:N), but the attacker must already be able to feed input through the local encoding pipeline.

Impact

This is a low-priority issue, and the signals are consistent rather than conflicting. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N) scores only 2.1, driven by a local attack vector, high attack complexity, and a present attack requirement (AT:P) - the use-after-free only manifests when a 'specific failure' occurs during multi-threaded ASHLAR encoding, which the attacker does not reliably control. Impact is limited to availability (VA:L); there is no confirmed confidentiality or integrity impact, and the vendor did not assign a code-execution impact. No EPSS score, KEV listing, or POC is present in the input, and the vuln.today decision label is 'monitor' - all pointing away from urgency. The one note of caution is class-based: CWE-416 use-after-free can in principle escalate from a crash to memory corruption (the description says 'crashes or memory corruption'), but the available evidence does not demonstrate controllable exploitation, and the vendor deliberately scored availability-only. Treat this as routine patch-cycle maintenance, not an emergency.

Exploit ScenarioDerived

An attacker who can cause a target system to encode an image into the ASHLAR format (for example via an application or service that uses ImageMagick for image conversion) supplies input crafted to induce the specific failure condition during multi-threaded encoding. If the failure and the concurrent free race line up, freed memory is accessed, most likely crashing the process (denial of service) or, less certainly, corrupting memory. No public exploit code is identified at time of analysis, and the high complexity plus timing dependence make reliable exploitation difficult.

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 in the ImageMagick ASHLAR encoder (all versions before 7.1.2-36) can be triggered when a specific failure occurs during multi-threaded ASHLAR encoding, allowing access to freed memory that results in a crash or memory corruption. Exploitation requires the local encoding pipeline to be driven into the ASHLAR path with threading enabled, and the CVSS:3.1 assessment (AV:L/AC:H/PR:N/UI:N/A:L) reflects that the failure window cannot be reliably forced; the ASHLAR coder is a niche, non-default path. Severity is low (CVSS 4.0 base 2.1), no public exploit code was identified at time of analysis, the issue is not in CISA KEV, and the vendor has released a fix in 7.1.2-36; the priority label is monitor.

RemediationAI

Upgrade to ImageMagick 7.1.2-36, the vendor-released fix identified in GHSA-5545-xpgp-wj32 (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5545-xpgp-wj32) and in the EUVD/VulnCheck records; patch availability is confirmed by the vendor. Where upgrading must be staged, the specific exposure can be removed by disabling the ASHLAR coder in policy.xml with a policy entry of domain "coder", rights "none", pattern "ASHLAR" - the trade-off is that legitimate ASHLAR write operations will fail, so confirm no pipeline depends on that format first. Because the defect requires multi-threaded encoding, constraining the encoder to a single thread (for example by setting MAGICK_THREAD_LIMIT=1 for the relevant process) removes the concurrency precondition at the cost of reduced throughput on large conversions. There is no indication that the vulnerable path is reachable remotely by default, so no network-level control is a substitute for the version upgrade.

Affected VersionsENISA

ImageMagick 0 <7.1.2-36

Affected Packages

euvd imagemagick fix: 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

ImageMagick is a widely deployed image conversion library and command-line toolset that dispatches work to per-format "coders"; ASHLAR is one such coder, used for tiled/mosaic-style large image output and rarely exercised in default workflows. The flaw is CWE-416 (use after free): the advisory states that when a specific failure occurs inside the ASHLAR encoder while encoding is running multi-threaded, memory is freed while another thread still references it, producing a dangling pointer dereference, a crash, or heap memory corruption. The concurrency between encoder threads is central - the defect is the interaction of the failure-handling path with parallel encoding rather than a simple bounds error - although the sources do not describe the precise triggering sequence that constitutes the "specific failure". The CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* with the EUVD range "ImageMagick 0 <7.1.2-36" indicates the entire release history up to and including 7.1.2-35 is affected. The CVSS:4.0 vector supplied by the source (AV:L/AC:H/AT:P/PR:N/UI:N/VA:L) and the independent CVSS:3.1 assessment agree that impact is limited to availability, with no confidentiality or integrity effect asserted.

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 encoding path (AV:L), race/failure-dependent trigger the attacker cannot control reliably (AC:H), no privileges or interaction, and crash-level availability impact only (A:L, C/I:N).

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:30 cve.org
LOW 2.1

DescriptionCVE.org

ImageMagick before 7.1.2-36 contains a use after free vulnerability in the ASHLAR encoder caused by multi-threading when a specific failure occurs. Attackers can trigger the failure condition while encoding ASHLAR images to access freed memory, causing crashes or memory corruption.

Threat Intelligence Overview

Prevalence
High
ImageMagick is a widely deployed image-processing library across web and enterprise stacks
Social Media
1
Sightings
Data Quality
4 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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

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

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.

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