Buffer overflow in Netpbm
CVE-2026-120435
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- sourceforge.net/p/netpbm/code/5336/ (patch)
- svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY (release-notes)
- svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY (release-notes)
- svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY (release-notes)
- svn.code.sf.net/p/netpbm/code/!svn/bc/5335/trunk/converter/ppm/xpmtoppm.c (technical-description)
- www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-heap-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-120435?
- CVE-2026-120435 is a high-severity vulnerability in Netpbm, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2026-11-02.
- How severe is CVE-2026-120435?
- High severity. CVSS v3 base score is 7.8 out of 10.