Skip to main content

Netpbm rasttopnm CVE-2026-112275

| EUVDEUVD-2026-104298 MEDIUM
Out-of-bounds Write (CWE-787)
2026-10-19 VulnCheck GHSA-g5r3-p9v9-9mrm
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted Sun rasterfile to victim
  2. Delivery
    Victim runs rasttopnm conversion
  3. Exploit
    RLE decoder overruns md_image heap buffer
  4. Execution
    Controlled bytes corrupt heap memory
  5. Impact
    Process 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% 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-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

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

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

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

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/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
None
Vulnerable system: Integrity
Low
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 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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
common image toolkit bundled in Linux distros, niche rasterfile converter
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.1%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
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.

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.

Vendor StatusVendor

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