Live threats

All CVEs / Greg Roelofs

CVE-2005-3662Greg Roelofs Pnmtopng

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
0.6%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Nov 18, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P

What happens

Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option (Alphas_Of_Color), allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PNM file with exactly 256 colors.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pnmtopng.

Affected products (CPE)

VendorProductVersions
greg_roelofspnmtopng2.37.3
greg_roelofspnmtopng2.37.4
greg_roelofspnmtopng2.37.5
greg_roelofspnmtopng2.37.6
greg_roelofspnmtopng2.38

Official sources

References

Links published by the sources. Open them with care.