---
title: "CVE-2005-3662\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2005-3662?format=md
keywords: index, follow
---

# CVE-2005-3662

Publication date 18 November 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| netpbm-free | 7.04 feisty | Fixed 10.0-10ubuntu1 |
| 6.10 edgy | Fixed 10.0-10ubuntu1 |
| 6.06 LTS dapper | Fixed 10.0-10ubuntu1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3662)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2005-3662)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2005-3662)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2005-3662)

### Related Ubuntu Security Notices (USN)

+ [USN-218-1](https://usn.ubuntu.com/USN-218-1)
+ netpbm vulnerabilities
+ 22 November 2005

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2005-3662>
