All reports
Medium

netpbm: netpbm: Denial of Service via out-of-bounds read in tgatoppm

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-120437

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-19

Description

Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains an out-of-bounds read vulnerability in the tgatoppm converter's get_pixel() function that uses unchecked pixel values as color map indexes. Attackers can supply a crafted color-mapped Targa file whose pixel values exceed the declared color map bounds to crash the converter or leak adjacent memory into the output image.

A flaw was found in Netpbm. The tgatoppm converter fails to validate pixel values against color map bounds in the get_pixel() function. By supplying a specially crafted color-mapped Targa file, an attacker can trigger an out-of-bounds read. This flaw can lead to a Denial of Service (DoS) through an application crash or result in information disclosure by leaking adjacent memory into the generated image.