Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Sun rasterfile with short colormap
-
DeliveryDeliver file to victim conversion pipeline
-
Exploitrasttopnm indexes past palette bounds
-
ExecutionHeap out-of-bounds read triggered
-
ImpactAdjacent 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
tiffttopnm in netpbm 10.47.63 does not properly use the libtiff TIFFRGBAImageGet function, which allows remote attackers
The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denia
Heap-based out-of-bounds write in Netpbm's rasttopnm Sun rasterfile decoder (pr_load_image) allows an unauthenticated lo
EUVD-2026-104297
GHSA-287f-cv9c-ggfj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB