CVE-2026-112276

Netpbm through 11.16.00 Heap Out-of-Bounds Read via rasttopnm Colormap

Published Oct 19, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Netpbm
Netpbm netpbm
Vendors & Products Netpbm
Netpbm netpbm
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 19, 2026, 2:13 PM
Reserved
Oct 19, 2026, 1:25 PM
Status
Deferred
Published
Oct 19, 2026, 2:17 PM
Modified
Oct 19, 2026, 9:14 PM
Severity
Moderate
Public date
Oct 19, 2026, 1:55 PM