Description
Netpbm before 10.86.51, 11.x before 11.02.29, and 11.03 before 11.15.07 contains a heap-based buffer overflow in sgitopnm's readChannels() function when processing RLE-compressed SGI images. Attackers can supply crafted SGI files with oversized offset table lengths to write controlled data past the heap buffer, causing crashes or potential code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Netpbm | Netpbm | < 10.86.51, 11.0 – < 11.02.29, 11.03 – < 11.15.07 | 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/5317/ patch
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5319/stable/doc/HISTORY release-notes
- https://svn.code.sf.net/p/netpbm/code/!svn/bc/5318/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/5316/trunk/converter/other/sgitopnm.c technical-description
- VulnCheck Advisory: Netpbm before 10.86.51, 11.02.29, and 11.15.07 sgitopnm Heap Buffer Overflow third-party-advisory