Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach ImageMagick PNM upload/processing endpoint
-
DeliverySubmit crafted or oversized PNM image
-
ExploitDrive coder to memory/resource limit
-
ExecutionFailed allocation dereferenced as NULL
-
ImpactWorker 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 the target to process a specially crafted or sufficiently large PNM (Netpbm) image through ImageMagick's PNM coder, AND for ImageMagick to hit its configured memory/resource limit at the specific allocation point where the failed allocation is not checked - this precise resource-exhaustion timing is what the CVSS AC:H and AT:P reflect. Limiting factors: the impact is confined to a denial of service (single-process crash, restartable) with no data exposure or code execution; exploitation depends on the application actually accepting PNM input and on the deployed ImageMagick resource-limit configuration. The vendor marks PR:L, but whether authentication is truly required depends on the embedding application's upload path. |
| Impact | This is a low-priority, low-real-risk issue. All signals converge: the vendor CVSS 4.0 base score is only 2.3, the sole impact is availability (VA:L) via an application crash - no confidentiality or integrity impact (VC:N/VI:N) - and the CWE-476 NULL pointer dereference produces a bounded denial of service, not code execution. Attack complexity is high (AC:H) with an attack requirement (AT:P) because the crash only triggers when a memory/resource limit is reached at a specific point during PNM processing, i.e. the attacker must reliably drive ImageMagick to its resource ceiling at the exact vulnerable allocation. There is no CISA KEV listing, no EPSS score supplied, and no public exploit code referenced, so exploitation status is 'no public exploit identified at time of analysis.' One conflict worth noting: the vendor vector uses PR:L (authenticated), but ImageMagick is most often invoked on untrusted images submitted to a service without authentication, so PR:N may be more realistic in many deployments - verify against the specific integration. Even under the worst case the outcome is a restartable process crash, so this ranks well below any RCE or data-disclosure flaw despite ImageMagick's broad footprint. |
| Exploit ScenarioDerived | An attacker submits a specially crafted or deliberately oversized PNM image to a web application or service that processes uploads through ImageMagick's PNM coder. When ImageMagick hits its configured memory/resource limit at the vulnerable allocation point, the unchecked failed allocation is dereferenced as NULL and the worker process crashes, denying image-processing service. No public exploit code is referenced, and the high attack complexity (AC:H/AT:P) means the attacker must reliably force the resource-limit condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
ImageMagick's PNM (Netpbm) image coder can be crashed via a NULL pointer dereference when processing a specially crafted or sufficiently large PNM image that pushes the library to its configured memory/resource limit at a specific allocation point where the failed allocation is never checked. The flaw affects ImageMagick releases before 7.1.2-31 on the 7.x branch and before 6.9.13-56 on the legacy 6.x branch, and the outcome is limited to a denial of service - a single-process crash that can be restarted - with no data exposure, integrity loss, or code execution. Severity is low (vendor CVSS 4.0 base 2.3; independent assessment rates CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:N/A:L with high attack complexity and partial prerequisite conditions), no public exploit code was identified at time of analysis, and a vendor-released patch is available.
RemediationAI
Apply the vendor-released patch by upgrading to ImageMagick 7.1.2-31 or later on the 7.x branch, or to 6.9.13-56 or later on the 6.x branch (verifying the exact build against the advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-92rw-c5mw-27v4 and https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-null-pointer-dereference-via-pnm); because the defect lies in allocation-failure handling, backporting the upstream fix into distribution-packaged builds is the alternative where a full version jump is impractical. Where upgrading is not immediately possible, harden the processing path: disable PNM/Netpbm decoding for untrusted input by removing or denying the PNM coder in policy.xml (side effect: legitimate PBM/PGM/PPM/PAM processing stops and callers must handle the rejection); and review resource limits so that memory exhaustion at the vulnerable allocation is either avoided or safely triggered - note that simply raising MAGICK_MEMORY_LIMIT/map limits past the point of failure is a trade-off that avoids the crash path but increases memory-consumption exposure to other exhaustion attacks. Running ImageMagick conversions under a restrictive sandbox or unprivileged user limits the blast radius to the worker process, and validating or re-encoding uploaded images before they reach ImageMagick removes the malformed-PNM trigger entirely; none of these mitigations address the unchecked allocation, so treating the version upgrade as the primary fix is recommended.
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 coder architecture handles each supported image format through a dedicated module; the PNM coder decodes Netpbm-family formats (PBM/PGM/PPM/PAM) and relies on the library's pixel/memory allocation routines, which are governed by configurable resource limits set through MAGICK_MEMORY_LIMIT, MAGICK_MAP_LIMIT, policy.xml, or similar settings. The defect is CWE-476 (NULL Pointer Dereference): at a particular point in the decode path the return value of an allocation that has exceeded the resource limit is not validated before being dereferenced, so a resource-limited allocation failure produces a NULL pointer dereference instead of a graceful error return, terminating the process. This is the classic unchecked-allocation-return pattern rather than a memory-safety corruption issue, which is why the outcome is crash-only. The CPE strings supplied are wildcarded on the ImageMagick product, so the practical scope is defined by version: everything below 7.1.2-31 in the 7.x line and everything below 6.9.13-56 in the 6.x line (as also enumerated by the EUVD entry: ImageMagick 0 <6.9.13-56 and 0 <7.1.2-31). Exploitation requires the deployment to actually accept and decode PNM input and to be configured with memory/resource limits that can be reached at the vulnerable allocation point - the exact timing needed for the limit to trigger there is what the assessed AC:H and AT:P values capture.
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:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Untrusted PNM images typically reach ImageMagick over the network without auth (PR:N/AV:N); crash requires precisely hitting the resource limit (AC:H); impact is a restartable process crash only (A:L, C/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a NULL pointer dereference in the PNM coder. When the coder reaches a memory (resource) limit at a specific point during processing, the failed allocation is not handled and a NULL pointer is dereferenced, which can lead to a denial of service (application crash) when processing a specially crafted or sufficiently large PNM image.
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-82907
GHSA-92h2-gvhm-x4qm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB