Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line…
Priority LOW 22CWE-119Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.006 48th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:greg_roelofs:pnmtopng:2.37.3:*:*:*:*:*:*:* | 2.37.3 | Vulnerable | Greg Roelofs |
| cpe:2.3:a:greg_roelofs:pnmtopng:2.37.4:*:*:*:*:*:*:* | 2.37.4 | Vulnerable | Greg Roelofs |
| cpe:2.3:a:greg_roelofs:pnmtopng:2.37.5:*:*:*:*:*:*:* | 2.37.5 | Vulnerable | Greg Roelofs |
| cpe:2.3:a:greg_roelofs:pnmtopng:2.37.6:*:*:*:*:*:*:* | 2.37.6 | Vulnerable | Greg Roelofs |
| cpe:2.3:a:greg_roelofs:pnmtopng:2.38:*:*:*:*:*:*:* | 2.38 | Vulnerable | Greg Roelofs |
- cpe:2.3:a:greg_roelofs:pnmtopng:2.37.3:*:*:*:*:*:*:* Versions 2.37.3 Vulnerable ·Greg Roelofs
- cpe:2.3:a:greg_roelofs:pnmtopng:2.37.4:*:*:*:*:*:*:* Versions 2.37.4 Vulnerable ·Greg Roelofs
- cpe:2.3:a:greg_roelofs:pnmtopng:2.37.5:*:*:*:*:*:*:* Versions 2.37.5 Vulnerable ·Greg Roelofs
- cpe:2.3:a:greg_roelofs:pnmtopng:2.37.6:*:*:*:*:*:*:* Versions 2.37.6 Vulnerable ·Greg Roelofs
- cpe:2.3:a:greg_roelofs:pnmtopng:2.38:*:*:*:*:*:*:* Versions 2.38 Vulnerable ·Greg Roelofs
Remediation
Red Hat 1 advisory
- RHSA-2005:843 Released 2005-12-20 · Red Hat rating Moderatenetpbm security update
- Red Hat Desktop version 3 netpbm-9.24-11.30.4, netpbm-9.24-11.30.4.i386, netpbm-devel-9.24-11.30.4 +3
- Red Hat Enterprise Linux AS version 3 netpbm-9.24-11.30.4, netpbm-9.24-11.30.4.i386, netpbm-9.24-11.30.4.ia64 +9
- Red Hat Enterprise Linux ES version 3 netpbm-9.24-11.30.4, netpbm-9.24-11.30.4.i386, netpbm-9.24-11.30.4.ia64 +6
- Red Hat Enterprise Linux WS version 3 netpbm-9.24-11.30.4, netpbm-9.24-11.30.4.i386, netpbm-9.24-11.30.4.ia64 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:843 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:843 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:843 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:843 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-3662
- 2026-10-03 Alias added: GHSA-69w9-429r-r7vm
References
Sources
- CVE-2005-3662 · CVE Program
- CVE-2005-3662 · NVD
- FIRST EPSS
- GHSA-69w9-429r-r7vm · GitHub Advisory Database · CC BY 4.0
- CVE-2005-3662 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences