Skip to main content

ImageMagick PerlMagick EUVDEUVD-2026-72383

| CVE-2026-86425 MEDIUM
Use After Free (CWE-416)
2026-09-07 VulnCheck GHSA-cq4h-xmp2-xr98
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted image list to application
  2. Delivery
    Application passes list to PerlMagick Layer method
  3. Exploit
    Use-after-free triggered during list traversal
  4. Execution
    Heap memory dereferenced post-deallocation
  5. Impact
    Process crash (DoS)

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 the target environment uses the PerlMagick Perl bindings (not the base ImageMagick CLI or other language bindings) and specifically invokes the Layer method on a list of images. The attacker must be able to supply a crafted list of images that the application will pass to this method - this is a passive user-interaction condition (UI:P in CVSS 4.0), meaning a legitimate application or script must process the malicious input. Standard ImageMagick CLI deployments that do not use PerlMagick are not affected by this specific flaw. Authentication is not required from the attacker's perspective, but reaching the PerlMagick processing path may itself require submission privileges in the target application (e.g., an upload endpoint). Impact is strictly limited to a crash; code execution is not demonstrated.

Impact

Real-world risk is low. The CVSS 4.0 score of 4.8 accurately captures the limited blast radius: the attack vector is local (AV:L), user interaction is passive (a script or application must process attacker-supplied images), and the only confirmed impact is a crash (VA:L - low availability). There is no confidentiality or integrity impact. EPSS data was not provided, but the narrow impact class and absence from CISA KEV suggest opportunistic exploitation is unlikely. No public proof-of-concept exploit has been identified. The principal risk scenario is a denial of service in applications that accept and batch-process untrusted images via PerlMagick - for example, content pipelines or media processing servers using the Perl bindings. The flaw is not exploitable for code execution based on available data. Defenders running PerlMagick in internet-facing pipelines should treat this as a routine patch priority, not an emergency.

Exploit ScenarioDerived

An attacker uploads or injects a crafted sequence of image files into a batch processing pipeline built on PerlMagick. When the pipeline script invokes the Layer method on this image list, the freed memory is accessed, causing the Perl interpreter or the underlying ImageMagick daemon to crash, disrupting image processing service. No public proof-of-concept exists, so active exploitation would require independent vulnerability research to reproduce.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Sep 07, 2026

Heap-use-after-free in ImageMagick's PerlMagick Layer method allows an attacker supplying a crafted list of images to trigger memory access after deallocation, causing a crash. Affected versions include ImageMagick before 7.1.2-30 and the 6.9.x branch before 6.9.13-55. Impact is limited to denial of service (crash); no confidentiality or integrity compromise is possible from this flaw. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to ImageMagick 7.1.2-30 or later on the 7.x branch, or to 6.9.13-55 or later on the 6.9.x branch, as specified in GHSA-chf5-8rv9-gjqr. Most Linux distribution package managers will pick up the fix via their next update cycle; verify the installed version with 'magick --version' or 'identify --version'. If patching is not immediately possible, restrict the input surface: validate and sanitize image lists before passing them to PerlMagick's Layer method, limit accepted image formats to those your pipeline genuinely requires (using ImageMagick's policy.xml to disable unused coders), and run PerlMagick processing in an isolated process or container so a crash cannot cascade into the host application. Note that policy.xml restrictions reduce attack surface broadly but do not fix the underlying memory bug.

Affected VersionsENISA

ImageMagick 0 <7.1.2-30
ImageMagick 0 <6.9.13-55

Affected Packages

euvd imagemagick fix: 6.9.13-55, 7.1.2-30

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 used open-source image processing suite with bindings for numerous languages. PerlMagick is its Perl interface (the XS/C extension layer). The Layer method in PerlMagick processes a list (or stack) of image objects; CWE-416 (Use After Free) indicates that during this processing the code retains a pointer to a memory region that has already been deallocated, then dereferences it when handling a specially ordered or structured image list. This class of bug typically arises from incorrect reference-counting, iterator invalidation, or early-free during list traversal. The CPE cpe:2.3:a:imagemagick:imagemagick:* covers both the 7.x and 6.9.x stable branches. The CVSS 4.0 vector (AV:L/UI:P/VA:L) reflects that exploitation requires local or application-mediated image input with passive user/pipeline involvement and produces only an availability impact.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local vector matches CVSS 4.0; requires passive application processing (UI:R); crash-only impact limits A:L, C:N, I:N.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
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
Sep 07, 2026 - 14:02 EUVD
CVE Published
Sep 07, 2026 - 12:53 cve.org
MEDIUM 4.8

DescriptionCVE.org

ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. An attacker who supplies a crafted list of images can trigger memory access after deallocation, resulting in a crash (denial of service).

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
ImageMagick used in vast majority of image-processing web stacks
Data Quality
7 sources
Confidence: High

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.1%
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
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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-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: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

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