CVE-2026-120433
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a stack-based buffer overflow in the picttoppm paintPoly() function due to an …
Impact
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a stack-based buffer overflow in the picttoppm paintPoly() function due to an unbounded polygon point count. Attackers can supply a crafted PICT file with a polygon exceeding 100 points to overwrite the fixed pts array, causing crashes or potentially code execution.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Netpbm
| Product | Affected versions |
|---|---|
| Netpbm | before 10.86.51 from 11.0 before 11.02.30 from 11.03 before 11.15.08 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://sourceforge.net/p/netpbm/code/5328/
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5327/trunk/converter/ppm/picttoppm.c
- https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-picttoppm-stack-buffer-overflow-via-paintpoly
- https://github.com/advisories/GHSA-9ccj-5rg6-rhvw
- https://nvd.nist.gov/vuln/detail/CVE-2026-120433
- https://sourceforge.net/p/netpbm/code/5328