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.
Published: 2026-10-19
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

Netpbm’s rasttopnm component can read beyond the bounds of a supplied colormap when processing Sun raster files that contain a short palette. The flaw allows an attacker to craft a raster file where the number of pixel bytes exceeds the declared colormap length, causing a heap out‑of‑bounds read that leaks up to 255 bytes of adjacent heap memory into the PNM output or crashes the program. The vulnerability is mapped to CWE‑125 and can result in the disclosure of sensitive memory contents, but does not provide remote code execution capabilities.

Affected Systems

The issue affects Netpbm version 11.16.00 and any earlier releases that include the rasttopnm conversion routine. The problem is present on all platforms supported by Netpbm that employ the Sun raster file format with colormaps.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity; there is no EPSS data and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply a Sun raster file with a malformed colormap and an excessive number of pixel values; the attack vector is primarily local or remote file‑processing if the application processes user‑supplied raster data. Because the read is bounded to the memory surrounding the palette, the impact is limited to potential information leakage rather than arbitrary code execution.

Generated by OpenCVE AI on October 19, 2026 at 16:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Netpbm release that contains the rasttopnm fix, if available on the Netpbm Project website.
  • Run rasttopnm with the lowest possible privileges or inside a sandboxed container to limit exposure of heap contents to the rest of the system.
  • Validate that any Sun raster file provided to rasttopnm has a colormap length that matches the declared palette size and reject files where pixel data exceeds the palette before conversion.

Generated by OpenCVE AI on October 19, 2026 at 16:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Netpbm
Netpbm netpbm
Vendors & Products Netpbm
Netpbm netpbm

Mon, 19 Oct 2026 15:30:00 +0000


Mon, 19 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title Netpbm through 11.16.00 Heap Out-of-Bounds Read via rasttopnm Colormap
First Time appeared Netpbm Project
Netpbm Project netpbm
Weaknesses CWE-125
CPEs cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:*
Vendors & Products Netpbm Project
Netpbm Project netpbm
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Netpbm Netpbm
Netpbm Project Netpbm
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T14:13:40.705Z

Reserved: 2026-10-19T13:25:29.280Z

Link: CVE-2026-112276

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-19T14:17:05.520

Modified: 2026-10-19T21:14:14.150

Link: CVE-2026-112276

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T19:00:04Z

Weaknesses