Read the docs

NULL pointer dereference in ImageMagick PNM coder on memory limit

Priority LOW 30CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-92rw-c5mw-27v4. Fix status from GitHub. Impact type from CWE-476.

Summary

ImageMagick versions before 7.1.2-31 and before 6.9.13-56 are affected. When the PNM coder hits a memory limit at a specific point, a NULL pointer dereference (CWE-476) occurs. A remote attacker can trigger it without authentication under high attack complexity, which causes a crash, with low impact on availability only.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

When the PNM coder hits a memory limit in a specific spot a null pointer dereference will occur.

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-31, 6.9.13-56

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-317.1.2-31Patch availableGHSA-92rw-c5mw-27v4
—ImageMagick (c/c++)< 6.9.13-566.9.13-56Patch availableGHSA-92rw-c5mw-27v4
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-31 Fixed in 7.1.2-31 Patch available GHSA-92rw-c5mw-27v4
  • ImageMagick (c/c++) Vendor— Affected < 6.9.13-56 Fixed in 6.9.13-56 Patch available GHSA-92rw-c5mw-27v4

Remediation

Upgrade ImageMagick 7.x to 7.1.2-31 and ImageMagick 6.x to 6.9.13-56.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-92rw-c5mw-27v4 ImageMagick (c/c++) Fixed in 7.1.2-31 Advisory →
  • Fix · GHSA-92rw-c5mw-27v4 ImageMagick (c/c++) Fixed in 6.9.13-56 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-92rw-c5mw-27v4

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences