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.
https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-31-null-pointer-dereference-via-pnm
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-92rw-c5mw-27v4
Published: 2026-09-18
Updated: 2026-09-18
Base Score: 2.1
Vector: CVSS2#AV:N/AC:H/Au:S/C:N/I:N/A:P
Severity: Low
Base Score: 3.1
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Severity: Low
Base Score: 2.3
Vector: 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
Severity: Low
EPSS: 0.00255