---
id: CVE-2026-120435
title: 'Netpbm before 10.86.51, 11.02.30, and 11.15.08 Heap Overflow in xpmtoppm'
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. Attackers can supply a crafted
  XPM file with chara…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: Netpbm
product: Netpbm
affected:
  - Netpbm < 10.86.51
  - Netpbm >= 11.0 < 11.02.30
  - Netpbm >= 11.03 < 11.15.08
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-06T19:29:10.498421Z'
published: '2026-11-02'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T19:29:30.466Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120435'
references:
  - url: 'https://sourceforge.net/p/netpbm/code/5336/'
  - url: 'https://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY'
  - url: 'https://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY'
  - url: >-
      https://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY
  - url: >-
      https://svn.code.sf.net/p/netpbm/code/!svn/bc/5335/trunk/converter/ppm/xpmtoppm.c
  - url: >-
      https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-heap-overflow-in-xpmtoppm
    label: >-
      VulnCheck Advisory: Netpbm before 10.86.51, 11.02.30, and 11.15.08 Heap
      Overflow in xpmtoppm
tags:
  - cve.org
epss: 0.00149
epssPercentile: 0.04084
ingestedAt: '2026-11-05T19:30:42.657Z'
---

## Overview

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.

## Affected

- `Netpbm < 10.86.51`
- `Netpbm >= 11.0 < 11.02.30`
- `Netpbm >= 11.03 < 11.15.08`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
