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.
2005-11-18T02:02:00.000
2025-04-03T01:03:51.193
Deferred
CVSSv2: 4.6 (MEDIUM)
AV:L/AC:L/Au:N/C:P/I:P/A:P
3.9
6.4
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | greg_roelofs | pnmtopng | 2.37.3 | Yes |
| Application | greg_roelofs | pnmtopng | 2.37.4 | Yes |
| Application | greg_roelofs | pnmtopng | 2.37.5 | Yes |
| Application | greg_roelofs | pnmtopng | 2.37.6 | Yes |
| Application | greg_roelofs | pnmtopng | 2.38 | Yes |