NULL Pointer Dereference Affecting imagemagick package, versions <8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm15


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-IMAGEMAGICK-20028938
  • published26 Sept 2026
  • disclosed18 Sept 2026

Introduced: 18 Sep 2026

NewCVE-2026-93588  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 imagemagick to version 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm15 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1