Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted Sun rasterfile to victim
-
DeliveryVictim runs rasttopnm conversion
-
ExploitRLE decoder overruns md_image heap buffer
-
ExecutionControlled bytes corrupt heap memory
-
ImpactProcess crash or potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim (or an automated pipeline) to invoke rasttopnm on an attacker-supplied Sun rasterfile that is byte/run-length encoded (RT_BYTE_ENCODED) and specially crafted with tiny declared dimensions combined with an oversized run-length body, triggering the OOB write in the pr_load_image RLE decoder. Limiting factors: the attack is local (AV:L) and demands user interaction (UI:P) - the attacker cannot reach the parser remotely without the victim processing the file, so risk is confined to environments where untrusted .ras images are converted. No authentication or special privileges are needed (PR:N), and default behavior of the converter is sufficient once a malicious file is fed in. |
| Impact | This is a legitimately MEDIUM-severity issue, not an overhyped critical. The provided CVSS 4.0 score of 6.9 is driven by local attack vector (AV:L), low complexity (AC:L), no privileges (PR:N), but required passive user interaction (UI:P) and an impact profile dominated by availability (VA:H) with only limited integrity impact (VI:L) and no confidentiality impact (VC:N). In practice this means a victim must be induced to convert an attacker-supplied Sun rasterfile with rasttopnm; it is not remotely reachable without that step. No EPSS score and no KEV status were provided, so there is no signal of active or widespread exploitation - consistent with a file-format parser bug rather than a mass-exploited network service flaw. A detailed public technical writeup (hackmd) describing the exact crafting method exists, which materially lowers the bar to reproduction, but no formal weaponized exploit or active-exploitation evidence was supplied. The realistic risk is denial of service / crash with a plausible but non-trivial path toward controlled memory corruption; the write is described as 'controlled bytes past md_image,' so while CVSS rates integrity only Low, heap OOB writes of controlled data can sometimes escalate - defenders should treat RCE as unproven but not dismiss it. Net: a real but not top-tier priority, appropriate for routine patching of image-processing pipelines rather than emergency response. |
| Exploit ScenarioDerived | An attacker crafts a malicious byte-encoded (RT_BYTE_ENCODED) Sun rasterfile declaring tiny image dimensions but carrying a long run-length-encoded body, then delivers it to a victim or an automated pipeline. When rasttopnm decodes the file via pr_load_image, the RLE decoder writes attacker-controlled bytes past the allocated md_image buffer, corrupting the heap and crashing the process. A public technical writeup documents the crafting technique, so reproduction is straightforward for a motivated attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Heap-based out-of-bounds write in Netpbm's rasttopnm Sun rasterfile decoder (pr_load_image) allows an unauthenticated local attacker to corrupt memory by supplying a crafted byte-encoded .ras file that declares tiny dimensions but carries an oversized run-length payload. The flaw affects Netpbm through 11.16.00 and is triggered when the victim or an automated pipeline runs rasttopnm on the malicious Sun rasterfile, causing memory corruption, crashes, and possible low-integrity effects. No public exploit code was identified at time of analysis, and the independent assessment rates this as Medium (CVSS 3.1 6.9) because exploitation is local and requires user interaction.
RemediationAI
No vendor-released patch or fixed version was identified in the provided data at time of analysis, so Netpbm through 11.16.00 should be treated as vulnerable until Netpbm publishes a corrected release. Monitor https://netpbm.sourceforge.net/ and the VulnCheck advisory at https://www.vulncheck.com/advisories/netpbm-through-11.16.00-heap-out-of-bounds-write-via-rasttopnm-pr-load-image for fixed-version information, and if building from source review the referenced rast.c trees at https://sourceforge.net/p/netpbm/code/5400/tree/advanced/converter/other/rast.c and https://sourceforge.net/p/netpbm/code/5400/tree/super_stable/converter/other/rast.c to confirm whether they contain the upstream correction before deploying. Until a patch is confirmed, avoid invoking rasttopnm on untrusted Sun rasterfiles and remove it from automated conversion pipelines or reject RT_BYTE_ENCODED .ras inputs at the ingress validation layer; this prevents exposure but breaks legitimate conversion of byte-encoded Sun raster images. If conversion of untrusted .ras files cannot be avoided, run rasttopnm in a sandboxed, low-privilege container with memory limits and no access to sensitive filesystems - this contains the blast radius of memory corruption and crashes but does not prevent the parser bug from being triggered.
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 of command-line graphics converters; rasttopnm converts Sun rasterfile (.ras) images to PNM, and pr_load_image in converter/other/rast.c handles the Sun rasterfile header and, for RT_BYTE_ENCODED files, the run-length expansion into the md_image heap buffer. The root cause is CWE-787 (out-of-bounds write): the decoder does not adequately validate that the decoded run-length output stays within the buffer sized from the file's declared dimensions, so a file with tiny declared dimensions and a long encoded body can write controlled bytes past md_image. The CPE cpe:2.3:a:netpbm:netpbm:*:*:*:*:*:*:*:* identifies the Netpbm package, with the CVE description capping affected code at 11.16.00. The CNA's CVSS 4.0 vector (AV:L/AC:L/PR:N/UI:P/VC:N/VI:L/VA:H) and the independent CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H) agree that exploitation is local, requires no privileges but does require the victim or a pipeline to process the crafted file, and primarily threatens availability with limited integrity impact. The linked HackMD analysis title also references a palette out-of-bounds read, but the assessed CVE impact remains C:N/I:L/A:H.
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:N/VI:L/VA:H/SC:N/SI:N/SA:N
Local file must be processed by the victim so AV:L and UI:R; no auth needed (PR:N); crashes dominate (A:H) with limited controlled-write integrity impact (I:L) and no confidentiality loss (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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 out-of-bounds read in Netpbm's rasttopnm converter through 11.16.00 can expose up to 255 adjacent heap bytes in gen
EUVD-2026-104298
GHSA-g5r3-p9v9-9mrm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB