Description
Netpbm through 11.16.00 contains a heap out-of-bounds read vulnerability in rasttopnm that allows attackers to read heap memory by supplying Sun rasterfiles with short colormaps. Attackers can craft colormapped rasterfiles with pixel bytes exceeding the palette length to leak up to 255 adjacent heap bytes into the PNM output or crash the program.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Netpbm Netpbm
Default version status: unaffected
0 to ≤ 11.16.00affected
References
- https://hackmd.io/@haindpwn/netpbm-sunraster-rle-oob-write-palette-oob-read ↗
- https://sourceforge.net/p/netpbm/code/5400/tree/advanced/converter/other/rasttopnm.c ↗
- https://sourceforge.net/p/netpbm/code/5400/tree/advanced/converter/other/rast.c ↗
- https://netpbm.sourceforge.net/ ↗
- https://www.vulncheck.com/advisories/netpbm-through-11.16.00-heap-out-of-bounds-read-via-rasttopnm-colormap ↗
- https://hackmd.io/@haindpwn/cve-2026-112275-112276-netpbm-sunraster-rle-oob-write-palette-oob-read ↗