Description
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.
Severity (CVSS)
| Base score | 2.3 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-476 — NULL Pointer Dereference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | 0 to <7.1.2-31; 7.1.2-31 |
| ImageMagick | ImageMagick | 0 to <6.9.13-56; 6.9.13-56 |
References
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.