---
id: CVE-2026-112275
title: Netpbm through 11.16.00 Heap Out-of-Bounds Write via rasttopnm pr_load_image
summary: >-
  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…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: Netpbm
product: Netpbm
affected:
  - Netpbm <= 11.16.00
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T13:55:22.019Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112275'
references:
  - url: >-
      https://hackmd.io/@haindpwn/netpbm-sunraster-rle-oob-write-palette-oob-read
  - url: >-
      https://sourceforge.net/p/netpbm/code/5400/tree/advanced/converter/other/rast.c
  - url: >-
      https://sourceforge.net/p/netpbm/code/5400/tree/super_stable/converter/other/rast.c
  - url: 'https://netpbm.sourceforge.net/'
  - url: >-
      https://www.vulncheck.com/advisories/netpbm-through-11.16.00-heap-out-of-bounds-write-via-rasttopnm-pr-load-image
    label: >-
      VulnCheck Advisory: Netpbm through 11.16.00 Heap Out-of-Bounds Write via
      rasttopnm pr_load_image
tags:
  - cve.org
ingestedAt: '2026-10-19T14:30:01.072Z'
---

## Overview

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

- `Netpbm <= 11.16.00`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
