Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted PostScript file to processing service
-
ExploitPostScript decoder reaches policy limit
-
ExecutionNULL pointer dereference in ps.c
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
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
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
EUVD-2026-97716
GHSA-5725-4gf7-58x7
NVD
CVE.org
EPSS
Exploit-DB