Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Netpbm | Netpbm | < 10.86.51, 11.0 – < 11.02.30, 11.03 – < 11.15.08 | 10.86.51 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netpbm-free | No fix yet | — |
| Debian 13 | netpbm-free | No fix yet | — |
| Debian 12 | netpbm-free | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netpbm-free | No fix yet | — |
| Ubuntu 26.04 LTS | netpbm-free | No fix yet | — |
| Ubuntu 24.04 LTS | netpbm-free | No fix yet | — |
| Ubuntu 22.04 LTS | netpbm-free | No fix yet | — |
| Ubuntu 20.04 LTS | netpbm-free | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | netpbm-free | No fix yet | — |
| Ubuntu 16.04 LTS | netpbm-free | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | netpbm | 11.16.1-2.1 | openSUSE-SU-2026:12463-1 |
Advisories 1
- openSUSE-SU-2026:12463-1 libnetpbm-devel-11.16.1-2.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
References
- https://sourceforge.net/p/netpbm/code/5328/ patch
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY release-notes
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY release-notes
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY release-notes
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5327/trunk/converter/ppm/picttoppm.c technical-description
- VulnCheck Advisory: Netpbm before 10.86.51, 11.02.30, and 11.15.08 picttoppm Stack Buffer Overflow via paintPoly third-party-advisory