Home / Greg Roelofs / Pnmtopng / CVE-2005-3662
CVE-2005-3662: is it exploited, and which versions of Greg Roelofs Pnmtopng are affected and fixed?
CVE-2005-3662 is a memory corruption (buffer overflow) vulnerability in Greg Roelofs Pnmtopng. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: pnmtopng 2.37.3, pnmtopng 2.37.4, pnmtopng 2.37.5 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2005-3662?
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.
From the CVE record by redhat, last updated August 7, 2024, 23:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| greg roelofs | pnmtopng | 2.37.3 | application |
| greg roelofs | pnmtopng | 2.37.4 | application |
| greg roelofs | pnmtopng | 2.37.5 | application |
| greg roelofs | pnmtopng | 2.37.6 | application |
| greg roelofs | pnmtopng | 2.38 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:17 UTC.
How severe is CVE-2005-3662?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2005-3662 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- oval:org.mitre.oval:def:9583 vdb-entry, signature, x_refsource_OVAL
- SUSE-SR:2005:028 vendor-advisory, x_refsource_SUSE
- RHSA-2005:843 vendor-advisory, x_refsource_REDHAT
- 15427 vdb-entry, x_refsource_BID
- 17544 third-party-advisory, x_refsource_SECUNIA
- http://sourceforge.net/project/shownotes.php?release_id=370545 x_refsource_CONFIRM
- 20060101-01-U vendor-advisory, x_refsource_SGI
- ADV-2005-2418 vdb-entry, x_refsource_VUPEN
- MDKSA-2005:217 vendor-advisory, x_refsource_MANDRIVA
- 17679 third-party-advisory, x_refsource_SECUNIA
- 17828 third-party-advisory, x_refsource_SECUNIA
- 18186 third-party-advisory, x_refsource_SECUNIA
- 18517 third-party-advisory, x_refsource_SECUNIA
- 17671 third-party-advisory, x_refsource_SECUNIA
- USN-218-1 vendor-advisory, x_refsource_UBUNTU
- DSA-904 vendor-advisory, x_refsource_DEBIAN
When was it published, and where is the official record?
- Reserved
- November 18, 2005
- Published
- November 18, 2005, 02:00 UTC
- CVE record updated
- August 7, 2024, 23:17 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2005-3662
Is CVE-2005-3662 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Greg Roelofs Pnmtopng are affected by CVE-2005-3662?
pnmtopng 2.37.3, pnmtopng 2.37.4, pnmtopng 2.37.5, pnmtopng 2.37.6 and pnmtopng 2.38, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-3662?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2005-3662?
Medium (4.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2005-3662?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.