CVE-2005-3662
Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option ...
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.
Exploit likelihood
What each source reports
NVD Score used
4.6
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.
- Record
CVE-2005-3662- CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2005-3662- Updated
- 2026-11-02
EUVDEUVD-2005-3659 No score
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.
- Record
EUVD-2005-3659- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-69w9-429r-r7vm No score
Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option ...
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.
- Record
GHSA-69w9-429r-r7vm- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2005-3662- Updated
- 2026-11-02
OSVDEBIAN-CVE-2005-3662 No score
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.
- Record
DEBIAN-CVE-2005-3662- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
netpbm-freeDebian:12 |
before 2:10.0-10.1 | 2:10.0-10.1 |
netpbm-freeDebian:13 |
before 2:10.0-10.1 | 2:10.0-10.1 |
netpbm-freeDebian:14 |
before 2:10.0-10.1 | 2:10.0-10.1 |
netpbm-freeDebian:3.0 From an advisory covering 2 CVEs |
before 2:9.20-8.5, plus listed versions 2:9.20-8.4 |
2:9.20-8.5 |
netpbm-freeDebian:3.1 From an advisory covering 2 CVEs |
before 2:10.0-8sarge2, plus listed versions 2:10.0-82:10.0-8sarge1 |
2:10.0-8sarge2 |
netpbmRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-develRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-progsRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbmRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
netpbm-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-develRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-progsRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbmRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-develRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-progsRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbmRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-develRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
netpbm-progsRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:9.24-11.30.4 | 0:9.24-11.30.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2005-3662 is a medium vulnerability (CVSS 4.6) in Greg Roelofs Pnmtopng, published November 18, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.60%, the 48th percentile. Fixed in netpbm-free 2:10.0-10.1.
References
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9583
novell.com/linux/security/advisories/2005_28_sr.html
redhat.com/support/errata/RHSA-2005-843.html
securityfocus.com/bid/15427
secunia.com/advisories/17544
sourceforge.net/project/shownotes.php?release_id=370545
Show 24 moreShow less
vupen.com/english/advisories/2005/2418
mandriva.com/security/advisories?name=MDKSA-2005:217
secunia.com/advisories/17679
secunia.com/advisories/17828
secunia.com/advisories/18186
secunia.com/advisories/18517
secunia.com/advisories/17671
usn.ubuntu.com/218-1
debian.org/security/2005/dsa-904
nvd.nist.gov/vuln/detail/CVE-2005-3662
github.com/advisories/GHSA-69w9-429r-r7vm
security-tracker.debian.org/tracker/CVE-2005-3662
access.redhat.com/errata/RHSA-2005:843
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=173342
bugzilla.redhat.com/show_bug.cgi?id=173344
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_843.json
access.redhat.com/security/cve/CVE-2005-3632
bugzilla.redhat.com/show_bug.cgi?id=1617833
cve.org/CVERecord?id=CVE-2005-3632
nvd.nist.gov/vuln/detail/CVE-2005-3632
access.redhat.com/security/cve/CVE-2005-3662
bugzilla.redhat.com/show_bug.cgi?id=1617836
cve.org/CVERecord?id=CVE-2005-3662