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.
The product dereferences a pointer that it expects to be valid but is NULL.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Imagemagick | Ubuntu | esm-apps/focal | * |
| Imagemagick | Ubuntu | esm-apps/jammy | * |
| Imagemagick | Ubuntu | esm-apps/noble | * |
| Imagemagick | Ubuntu | esm-apps/resolute | * |
| Imagemagick | Ubuntu | jammy | * |
| Imagemagick | Ubuntu | noble | * |
| Imagemagick | Ubuntu | resolute | * |
| Imagemagick | Ubuntu | upstream | * |