CVE-2026-120435
7.8 HIGHPublished 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.
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
- https://sourceforge.net/p/netpbm/code/5336/
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5335/trunk/converter/ppm/xpmtoppm.c
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY
- https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-heap-overflow-in-xpmtoppm
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2017-20286PoC
- HIGHCVE-2026-118752PoC
- HIGHCVE-2026-100215
- HIGHCVE-2026-102227
- HIGHCVE-2026-119718
- HIGHCVE-2026-120431
- HIGHCVE-2026-120436
- HIGHCVE-2026-70112
Related by shared AI tags and CWE weakness class. Browse the full archive.