{"id":"CVE-2005-3662","aliases":["DEBIAN-CVE-2005-3662","DSA-904-1","EUVD-2005-3659","GHSA-69w9-429r-r7vm","RHSA-2005:843"],"status":"published","title":"Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option ...","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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.006,"percentile":0.48947,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2005-11-18T02:00:00Z","modified":"2026-10-23T03:47:30Z","fixes":[{"ecosystem":"Debian:12","package":"netpbm-free","fixed_in":["2:10.0-10.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"netpbm-free","fixed_in":["2:10.0-10.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"netpbm-free","fixed_in":["2:10.0-10.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10.1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:9.20-8.5"}]}],"versions":["2:9.20-8.4"],"bundled":2},{"source":"osv","ecosystem":"Debian:3.1","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-8sarge2"}]}],"versions":["2:10.0-8","2:10.0-8sarge1"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.4"}]}],"bundled":2}],"products":[{"vendor":"greg_roelofs","product":"pnmtopng"}],"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9583","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2005_28_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-843.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/15427","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/17544","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://sourceforge.net/project/shownotes.php?release_id=370545","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20060101-01-U","tags":["vendor-advisory","x_refsource_SGI","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2005/2418","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:217","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/17679","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/17828","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/18186","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/18517","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/17671","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://usn.ubuntu.com/218-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://www.debian.org/security/2005/dsa-904","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-3662","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-69w9-429r-r7vm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-3662","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:843","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=173342","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=173344","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_843.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-3632","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617833","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-3632","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-3632","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-3662","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617836","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-3662","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-3662","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":"published","published":"2005-11-18T02:00:00Z","modified":"2024-08-07T23:17:23.396Z","updated_at":"2026-11-02T14:33:38.550354Z"}],"euvd":[{"id":"EUVD-2005-3659","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":"published","published":"2005-11-18T02:00:00Z","modified":"2024-08-07T23:17:23Z","updated_at":"2026-11-03T01:15:25.767957Z"}],"ghsa":[{"id":"GHSA-69w9-429r-r7vm","title":"Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option ...","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":"published","published":"2022-05-03T03:14:35Z","modified":"2023-02-01T05:01:15Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:41.640503Z"}],"nvd":[{"id":"CVE-2005-3662","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":"published","published":"2005-11-18T02:02:00Z","modified":"2026-06-16T22:17:21.983Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:00:57.365803Z"}],"osv":[{"id":"CVE-2005-3662","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":"published","published":"2005-11-18T02:02:00Z","modified":"2026-04-10T03:38:16.83162Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2005-3662","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":"published","published":"2005-11-18T02:02:00Z","modified":"2026-10-23T03:47:30.943441351Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"DSA-904-1","title":"netpbm-free - buffer overflows","status":"published","published":"2005-11-21T00:00:00Z","modified":"2026-03-09T02:11:15.167079Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"RHSA-2005:843","title":"Red Hat Security Advisory: netpbm security update","status":"published","published":"2024-09-15T15:58:02Z","modified":"2026-06-26T10:03:58Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
