← Back to search

CVE-2026-120435

7.8 HIGH

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

AI risk analysis

Summary
A heap buffer overflow exists in Netpbm's xpmtoppm utility due to insufficient validation of the characters-per-pixel value in XPM headers. Attackers can craft malicious XPM files with characters-per-pixel > 3, causing out-of-bounds writes into fixed-size colorName hash entries, potentially leading to crashes or arbitrary code execution.
Exploitability
Exploitation requires user interaction (e.g., opening a crafted XPM file) and local access, but the low attack complexity and lack of privilege requirements make it feasible for an unprivileged attacker.
Blast radius
Successful exploitation could allow an attacker to execute arbitrary code with the privileges of the user running xpmtoppm, potentially compromising the host system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Netpbm version 10.86.51 or later, 11.02.30 or later for the 11.x series, or 11.15.08 or later for the 11.03 series.
heap-overflowrcelocal-exploitxpminput-validation

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.30, and 11.03 before 11.15.08 contains a heap buffer overflow in xpmtoppm caused by an unvalidated characters-per-pixel value in the XPM header. Attackers can supply a crafted XPM file with characters-per-pixel greater than 3 to overrun fixed 3-byte colorName hash entries, causing crashes or potentially 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-787

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.