← Back to search

CVE-2026-120431

7.8 HIGH

Published 2026-11-02 · Updated 2026-11-06

AI risk analysis

Summary
A heap-based buffer overflow exists in Netpbm's sgitopnm utility when processing RLE-compressed SGI images due to insufficient validation of offset table lengths in readChannels(). This allows an attacker to corrupt heap memory by writing controlled data beyond allocated buffers, potentially leading to crashes or arbitrary code execution.
Exploitability
Exploitation requires a user to process a specially crafted SGI image file via the affected sgitopnm tool, and UI interaction is needed per CVSS metrics, making remote exploitation unlikely without social engineering.
Blast radius
Local attackers with ability to provide malicious input files could achieve privilege escalation or denial of service on systems where Netpbm tools are used untrustedly, such as in batch image processing pipelines or user-facing applications.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Netpbm version 10.86.51, 11.02.29, or 11.15.07 (or later) depending on the affected branch.
heap-overflowrceimage-processinglocal-exploit

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Netpbm before 10.86.51, 11.x before 11.02.29, and 11.03 before 11.15.07 contains a heap-based buffer overflow in sgitopnm's readChannels() function when processing RLE-compressed SGI images. Attackers can supply crafted SGI files with oversized offset table lengths to write controlled data past the heap buffer, causing crashes or potential code execution.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-122

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.