Read the docs

Heap overflow in Netpbm xpmtoppm can crash or run code

Priority LOW 38CWE-787Published · Updated

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-787 and the CVSS impact.

Summary

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 (CWE-787). When an attacker supplies a crafted XPM file with characters-per-pixel greater than 3, the overflow overwrites fixed hash entries, which can crash the program or potentially execute code.

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.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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00149 4th percentileScored 2026-11-07
Fix Fixed Netpbm (Netpbm): 10.86.51, 11.02.30, 11.15.08

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

VendorProductAffected versionsFixed inStatusSource
NetpbmNetpbmbefore 10.86.51; 11.0 to before 11.02.30; 11.03 to before 11.15.0810.86.51, 11.02.30, 11.15.08Patch availableCNA
  • Netpbm VendorNetpbm Affected before 10.86.51; 11.0 to before 11.02.30; 11.03 to before 11.15.08 Fixed in 10.86.51, 11.02.30, 11.15.08 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:*——Netpbm Project
  • cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:* Versions — — ·Netpbm Project

Remediation

Update Netpbm to 10.86.51 on the 10.x line, to 11.02.30 on the 11.x line before 11.03, or to 11.15.08 on the 11.03 line.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

  • Fix · CNA Netpbm (Netpbm) Fixed in 10.86.51, 11.02.30, 11.15.08

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Netpbm 10.86.51, 11.02.30, 11.15.08

    6 records Highest priority Priority LOW 6 LOW

    Other records, highest priority first

    • TI-2026-83828 Heap overflow in Netpbm jbigtopnm can crash the tool or run codePriority LOW 38
    • TI-2026-83826 Stack buffer overflow in Netpbm picttoppm converterPriority LOW 38
    • TI-2026-83825 Stack buffer overflow in Netpbm picttoppm paintPoly()Priority LOW 38

Timeline

  1. 2026-11-02 Threatist record created from CVE-2026-120435
  2. 2026-11-02 Alias added: GHSA-9wp8-mmj7-87m8
  3. 2026-11-04 Priority changed: MEDIUM → LOW
  4. 2026-11-06 CISA SSVC decision points changed

References

  • 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
See all 22 →

Sources