---
id: CVE-2026-93588
title: >-
  ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a NULL pointer
  dereference in the PNM coder
summary: >-
  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 NUL…
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-476
vendor: imagemagick
product: imagemagick
affected:
  - imagemagick < 6.9.13-56
  - 'imagemagick >= 7.0.0-0, < 7.1.2-31'
patched:
  - imagemagick 7.1.2-31
published: '2026-09-18'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T18:45:57.333'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93588'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-92rw-c5mw-27v4
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-null-pointer-dereference-via-pnm
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93588.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93588'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2538115'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93588'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93588'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00271
epssPercentile: 0.19238
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T14:19:39.342297Z'
ingestedAt: '2026-09-18T13:41:41.668Z'
---

## Overview

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.

## Affected

- `imagemagick < 6.9.13-56`
- `imagemagick >= 7.0.0-0, < 7.1.2-31`

## Remediation

Upgrade past the affected range:

- `imagemagick 7.1.2-31`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93588.json)
