CVEvulnerability

CVE-2005-3662

4.6 MEDIUM Published 2005-11-18 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2005-11-18
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

Description

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.

Affected configurations

• greg roelofs pnmtopng 2.37.3 • greg roelofs pnmtopng 2.37.4 • greg roelofs pnmtopng 2.37.5 • greg roelofs pnmtopng 2.37.6 • greg roelofs pnmtopng 2.38

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References