CVE-2005-2978: Netpbm

High severity, CVSS 7.5. EPSS: 4.9% chance of exploitation in the next 30 days.

pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.

Affected products

  • Netpbm Netpbm: version 10.0 only; version 10.1 only; version 10.2 only; version 10.3 only; version 10.4 only; version 10.5 only; …

Published 2005-10-18. Last modified 2026-06-16.