Skip to main content

ImageMagick CVE-2026-109272

| EUVDEUVD-2026-97716 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-10-12 VulnCheck GHSA-5725-4gf7-58x7
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted PostScript file to processing service
  2. Exploit
    PostScript decoder reaches policy limit
  3. Execution
    NULL pointer dereference in ps.c
  4. Impact
    Application process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ImageMagick (7.1.1-31 up to but not including 7.1.2-32) to process an attacker-supplied PostScript (PS/EPS) file through its PostScript decoder (coders/ps.c), AND a policy limit must be reached during decoding to trigger the NULL pointer dereference - this policy-limit precondition is reflected by AT:P in the CVSS 4.0 vector and is the key limiting factor. Deployments without restrictive policy.xml resource limits, or that do not route untrusted files through the PostScript coder (e.g., PS/EPS disabled in policy.xml), are less likely to be reachable. Impact is limited to a process crash (denial of service); there is no confidentiality, integrity, or code-execution impact, and no authentication or user interaction is required when the service accepts untrusted input.

Impact

This is a limited-impact availability-only vulnerability that should be treated as low-to-moderate priority despite the 6.3 CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) describes a network-reachable, unauthenticated issue, but the only impact metric set is VA:L - there is no confidentiality or integrity impact, and no code execution (CWE-476 NULL pointer dereference, crash only). The AT:P (attack requirements present) metric is significant: exploitation depends on a specific precondition - a policy limit being reached during PostScript decoding - rather than firing against any input, which materially reduces real-world exploitability. No EPSS score was provided in the input, and the vulnerability is NOT listed in CISA KEV; no public exploit code was supplied, so this is 'no public exploit identified at time of analysis.' No SSVC decision data was provided. Signals are internally consistent: a genuine but low-severity DoS. Note the CVSS vector supplied is CVSS 4.0, not 3.1, and AV:N assumes ImageMagick is exposed to attacker-supplied files via a network-facing service (e.g., an upload/processing pipeline); in a purely local CLI context the practical attack vector is narrower - verify against deployment.

Exploit ScenarioDerived

An attacker uploads a crafted PostScript (PS/EPS) file to a web application or service that uses ImageMagick for image conversion or thumbnailing. When ImageMagick's PostScript decoder hits a configured policy limit while processing the file, a NULL pointer dereference crashes the worker process, denying service to legitimate users. No public exploit code was identified in the provided data, and the attack requires the policy-limit precondition (AT:P) to be met.

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

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

Alert me

AnalysisAIv1 – Oct 12, 2026

Crashing ImageMagick's PostScript decoder is achievable with a crafted PostScript or EPS file: in ImageMagick versions from 7.1.1-31 up to but not including 7.1.2-32, the PostScript coder (coders/ps.c) dereferences a NULL profile pointer once a resource policy limit is reached during decoding, terminating the process and denying service to any application, pipeline, or web service that converts untrusted images. The issue is remotely reachable without authentication or user interaction (CVSS 4.0 base 6.3; independently assessed as availability-only under CVSS 3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L), and no public exploit code was identified at the time of analysis. Impact is confined to a process crash - there is no disclosure, modification, or code execution.

RemediationAI

Apply the vendor fix by upgrading to ImageMagick 7.1.2-32 or later; the patch is the one-line NULL-check correction in commit d98509b23a547d9ccd0a8af8650d03c5c01c3722, described in advisory GHSA-58h4-rwr6-wj72 and VulnCheck's advisory at https://www.vulncheck.com/advisories/imagemagick-7.1.1-31-before-7.1.2-32-null-pointer-dereference-in-postscript-decoder (patch status: patch available per vendor advisory, exact release 7.1.2-32). Where immediate upgrading is not possible, the strongest compensating control is to remove the attack surface by disabling the PostScript/EPS coders entirely in policy.xml, for example with <policy domain="coder" rights="none" pattern="{PS,EPS,PS2,PS3}" />, accepting the side effect that legitimate PS/EPS conversion and thumbnailing will fail; alternatively, run conversion of untrusted input in an isolated, resource-capped worker process (non-root user, seccomp/sandboxing, memory and file-size limits) so that a crash is contained rather than taking down the parent service, at the cost of added operational complexity. Raising or removing policy.xml resource limits to avoid reaching the triggering condition is not advisable, because those limits exist to blunt resource-exhaustion attacks; rejecting or stripping PS/EPS uploads by content sniffing is a lower-impact alternative for services that only need raster formats.

Affected VersionsENISA

ImageMagick 7.1.1-31 <7.1.2-32

Affected Packages

euvd imagemagick fix: 7.1.2-32

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's PostScript/EPS coder in coders/ps.c parses metadata and embedded profiles from PostScript content, which is normally produced through its Ghostscript delegate. The defect is a textbook CWE-476 NULL pointer dereference inside ReadPSInfo(): the code guarded and then consumed ps_info->photoshop_profile, but the NULL check on that path tested ps_info->icc_profile instead. When a policy limit (a policy.xml resource restriction or a profile-size cap) causes the Photoshop profile to be skipped or left unallocated, the mismatched guard passes and the code dereferences a NULL profile pointer, crashing the process. The upstream fix, commit d98509b23a547d9ccd0a8af8650d03c5c01c3722, is a one-line correction that changes the check from ps_info->icc_profile to ps_info->photoshop_profile, restoring proper NULL validation. The affected component is identified by the CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*, i.e. the ImageMagick application package itself rather than an external library.

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

AC:H because the crash fires only when a policy limit is reached (a non-guaranteed precondition); PR:N/UI:N as untrusted files are processed without auth; only A:L since impact is a crash with no data exposure.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
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

DescriptionCVE.org

ImageMagick 7.1.1-31 before 7.1.2-32 contains a NULL pointer dereference in the PostScript decoder that is triggered when a policy limit is reached. Attackers can supply a crafted PostScript file for processing to crash the application, causing a denial of service.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
High
ImageMagick is widely embedded in web apps, CMSes, and server image pipelines
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

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

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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

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