---
id: CVE-2026-120434
title: >-
  Netpbm before 10.86.51, 11.02.30, and 11.15.08 picttoppm Stack Overflow via
  scanPoly
summary: >-
  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 picttoppm's scanPoly() function in
  converter/ppm/picttoppm.c. Attackers can supply a crafted PICT file whose
  polygon edges …
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-121
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-05T21:36:39.154661Z'
published: '2026-11-02'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:36:56.064Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120434'
references:
  - url: 'https://sourceforge.net/p/netpbm/code/5331/'
  - 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/5330/trunk/converter/ppm/picttoppm.c
  - url: >-
      https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-picttoppm-stack-overflow-via-scanpoly
    label: >-
      VulnCheck Advisory: Netpbm before 10.86.51, 11.02.30, and 11.15.08
      picttoppm Stack Overflow via scanPoly
tags:
  - cve.org
epss: 0.00149
epssPercentile: 0.04084
ingestedAt: '2026-11-05T19:30:42.653Z'
---

## Overview

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 picttoppm's scanPoly() function in converter/ppm/picttoppm.c. Attackers can supply a crafted PICT file whose polygon edges produce more than 5000 points, overflowing the coord stack array to crash the converter or potentially execute code.

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