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.
https://sourceforge.net/p/netpbm/code/5400/tree/super_stable/converter/other/rast.c
https://sourceforge.net/p/netpbm/code/5400/tree/advanced/converter/other/rast.c
https://netpbm.sourceforge.net/
https://hackmd.io/@haindpwn/netpbm-sunraster-rle-oob-write-palette-oob-read
Published: 2026-10-19
Updated: 2026-10-19
Base Score: 5.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:C
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00128