Skip to main content

Netpbm rasttopnm EUVDEUVD-2026-104297

| CVE-2026-112276 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-19 VulnCheck GHSA-287f-cv9c-ggfj
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Sun rasterfile with short colormap
  2. Delivery
    Deliver file to victim conversion pipeline
  3. Exploit
    rasttopnm indexes past palette bounds
  4. Execution
    Heap out-of-bounds read triggered
  5. Impact
    Adjacent heap bytes leaked into PNM output or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that rasttopnm (the Sun rasterfile-to-PNM converter) be invoked on an attacker-controlled, colormapped Sun rasterfile in which pixel index bytes exceed the supplied colormap/palette length. Exploitation is gated by user interaction (UI:P): a user or an automated workflow must actually feed the malicious rasterfile to rasttopnm - there is no remote unauthenticated self-triggering path. The impact is limited to a bounded heap over-read (≤255 adjacent bytes) disclosed into PNM output or a crash; it does not grant code execution or memory writes. Practical exposure is highest where Netpbm auto-converts untrusted uploaded images; systems that never process Sun rasterfiles through rasttopnm are effectively not exposed.

Impact

This is a moderate, defensively-relevant issue rather than a top-tier emergency. The input CVSS 4.0 vector (6.9) models local exploitation (AV:L) with no privileges (PR:N) but passive user interaction (UI:P) - i.e., a victim must run rasttopnm against an attacker-supplied Sun rasterfile. The dominant impact is availability (VA:H, crash from an out-of-bounds read) with only limited confidentiality (VC:L, leaking up to 255 adjacent heap bytes into PNM output); there is no integrity impact (VI:N), consistent with CWE-125 (out-of-bounds read). No EPSS score, no CISA KEV listing, and no explicit POC flag were provided in the input, so there is no signal of active exploitation or automatable mass exploitation; SSVC-style exploitation status is therefore 'none' by the available data. The heap leak is bounded and non-deterministic (adjacent bytes, not attacker-chosen targets), limiting its value for reliable secret exfiltration. One nuance to verify: the referenced write-up URL (hackmd '...sunraster-rle-oob-write-palette-oob-read') implies a related OOB WRITE also exists in the same code path, but THIS CVE is scoped to the palette OOB read only - do not conflate the two when prioritizing. Overall: a real but lower-urgency bug, most relevant where Netpbm processes untrusted image uploads in an automated pipeline.

Exploit ScenarioDerived

An attacker crafts a colormapped Sun rasterfile whose pixel bytes reference indices beyond the short colormap length and submits it to a system that converts it with rasttopnm (e.g., an image-processing pipeline or a user running the tool manually). When converted, the tool reads past the palette into adjacent heap memory, either leaking up to 255 bytes of that memory into the resulting PNM output or crashing the process. A technical write-up describing the flaw is referenced, but no packaged public exploit code was indicated in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Heap out-of-bounds read in Netpbm's rasttopnm converter through 11.16.00 can expose up to 255 adjacent heap bytes in generated PNM output, or crash the conversion, when a crafted colormapped Sun rasterfile contains pixel index bytes beyond the supplied palette length. The issue requires a user or automated workflow to feed the malicious rasterfile to rasttopnm, is locally oriented, and does not provide code execution or memory writes. No public exploit or CISA KEV confirmation is available at time of analysis, and the CVSS 4.0 vector indicates no privileges required but user interaction.

RemediationAI

No exact vendor-released fix version is identified in the provided data; the affected range is Netpbm through 11.16.00, and the references point to Netpbm source files rasttopnm.c and rast.c that should be used to verify and apply the upstream fix. Upgrade to a Netpbm release later than 11.16.00 once the vendor confirms it contains the rasttopnm colormap bounds fix, and validate against the Netpbm project site and the SourceForge code references. If upgrading is not immediately possible, remove or disable rasttopnm in conversion pipelines, or reject Sun rasterfile inputs from untrusted sources; the trade-off is loss of Sun raster conversion functionality. Where Sun raster support is required, add preprocessing that validates every pixel index against the colormap length before invoking rasttopnm, or run the converter in a sandbox with strict memory and crash containment, recognizing that these are compensating controls rather than a fix.

Affected VersionsENISA

netpbm 0 ≤11.16.00

Affected Packages

euvd netpbm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Netpbm is a widely used toolkit for converting and manipulating image formats, and rasttopnm converts Sun rasterfiles into PNM images. In colormapped Sun rasterfiles, pixel index bytes are used to look up entries in a palette; if an index exceeds the palette length, rasttopnm can read beyond the allocated colormap buffer. This is a CWE-125 heap-based out-of-bounds read, bounded to roughly 255 adjacent heap bytes in the described case, with impact limited to information disclosure through the PNM output or a crash. The CPE entry cpe:2.3:a:netpbm:netpbm:*:*:*:*:*:*:*:* indicates broad Netpbm version coverage, while the description and independent assessment constrain practical exposure to versions through 11.16.00 and to invocations of rasttopnm on attacker-controlled Sun rasterfiles. Source references point to the Netpbm rasttopnm.c and rast.c files for the relevant conversion logic.

Know when Netpbm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Local because a file must be fed to the CLI tool (AV:L) and a user/pipeline must trigger conversion (UI:R); no auth (PR:N); bounded heap leak (C:L) and crash (A:H), no writes (I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
Netpbm image toolkit is bundled across most Linux/Unix distributions
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy