Description
Netpbm through 11.16.00 contains a heap out-of-bounds write vulnerability in the rasttopnm Sun rasterfile run-length decoder pr_load_image in converter/other/rast.c. Attackers can supply a byte-encoded rasterfile with tiny dimensions and a long run-length body to write controlled bytes past md_image, causing memory corruption and crashes.
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/rast.c ↗
- https://sourceforge.net/p/netpbm/code/5400/tree/super_stable/converter/other/rast.c ↗
- https://netpbm.sourceforge.net/ ↗
- https://www.vulncheck.com/advisories/netpbm-through-11.16.00-heap-out-of-bounds-write-via-rasttopnm-pr-load-image ↗