Heap buffer overflow in Netpbm sgitopnm via crafted SGI files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
Netpbm before 10.86.51, from 11.0 before 11.02.29, and from 11.03 before 11.15.07 contains a heap-based buffer overflow (CWE-122) in the readChannels() function of sgitopnm when it processes RLE-compressed SGI images. When a user processes a crafted SGI file with oversized offset table lengths, an attacker can write controlled data past the heap buffer, causing crashes or potential code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Netpbm | Netpbm | before 10.86.51; 11.0 to before 11.02.29; 11.03 to before 11.15.07 | 10.86.51, 11.02.29, 11.15.07 | Patch available | CNA |
- Netpbm VendorNetpbm Affected before 10.86.51; 11.0 to before 11.02.29; 11.03 to before 11.15.07 Fixed in 10.86.51, 11.02.29, 11.15.07 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:* | — | — | Netpbm Project |
- cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:* Versions — — ·Netpbm Project
Remediation
Netpbm fixes this in versions 10.86.51, 11.02.29 and 11.15.07.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
- Fix · CNA Netpbm (Netpbm) Fixed in 10.86.51, 11.02.29, 11.15.07
Timeline
- 2026-11-02 Threatist record created from CVE-2026-120431
- 2026-11-02 Alias added: GHSA-7mxm-h73h-f94f
- 2026-11-04 Priority changed: MEDIUM → LOW
- 2026-11-06 CISA SSVC decision points changed
References
Other 4
More Netpbm vulnerabilities
- TI-2026-76476 Heap out-of-bounds read in Netpbm rasttopnm leaks memory CVSS 4.0MEDIUM 6.9
- TI-2003-00141 Multiple vulnerabilities in NetPBM 9.20 and earlier, and possibly other versions, may… CVSS 2.0HIGH 7.5
- TI-2005-02810 pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size… CVSS 2.0HIGH 7.5
- TI-2009-04054 Stack-based buffer overflow in converter/ppm/xpmtoppm.c in netpbm before 10.47.07 allows… CVSS 2.0HIGH 7.5
- TI-2005-02339 pstopnm in netpbm does not properly use the "-dSAFER" option when calling Ghostscript to… CVSS 2.0HIGH 7.5
- TI-2026-83828 Heap overflow in Netpbm jbigtopnm can crash the tool or run code CVSS 4.0HIGH 8.5
Sources
- CVE-2026-120431 · CVE Program
- CVE-2026-120431 · NVD
- FIRST EPSS
- GHSA-7mxm-h73h-f94f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences