Skip to main content

ImageMagick CVE-2026-93588

| EUVDEUVD-2026-82907 LOW
NULL Pointer Dereference (CWE-476)
2026-09-18 VulnCheck GHSA-92h2-gvhm-x4qm
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach ImageMagick PNM upload/processing endpoint
  2. Delivery
    Submit crafted or oversized PNM image
  3. Exploit
    Drive coder to memory/resource limit
  4. Execution
    Failed allocation dereferenced as NULL
  5. Impact
    Worker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

ImageMagick 0 <6.9.13-56
ImageMagick 0 <7.1.2-31

Affected Packages

euvd imagemagick fix: 6.9.13-56, 7.1.2-31

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

Vendor (VulnCheck) PRIMARY 2.3 LOW
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
vuln.today AI 3.7 LOW

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/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
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
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
Sep 18, 2026 - 14:02 EUVD
CVE Published
Sep 18, 2026 - 13:20 cve.org
LOW 2.3

DescriptionCVE.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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
ImageMagick is a widely-deployed image-processing library across web stacks and servers
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 0.3%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
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

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