{"id":"CVE-2005-2978","aliases":["DEBIAN-CVE-2005-2978","DSA-878-1","EUVD-2005-2978","GHSA-xf4f-2rfr-r287","RHSA-2005:793"],"status":"published","title":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index...","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.04873,"percentile":0.92104,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-10-18T04:00:00Z","modified":"2026-10-23T03:47:29Z","fixes":[{"ecosystem":"Debian:12","package":"netpbm-free","fixed_in":["2:10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"netpbm-free","fixed_in":["2:10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"netpbm-free","fixed_in":["2:10.0-10"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"netpbm-free","fixed_in":["2:10.0-8sarge1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-10"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-8sarge1"}]}],"versions":["2:10.0-8"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.2"}]}]}],"products":[{"vendor":"netpbm","product":"netpbm"}],"references":[{"url":"https://usn.ubuntu.com/210-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://securitytracker.com/id?1015071","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2005/2133","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/17282","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2005/dsa-878","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/17221","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/17357","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-793.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/17256","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168278","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"http://secunia.com/advisories/17265","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/17222","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2005_24_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200510-18.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/15128","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10135","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2978","tags":["advisory"]},{"url":"https://usn.ubuntu.com/210-1"},{"url":"https://github.com/advisories/GHSA-xf4f-2rfr-r287"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-2978","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:793","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=168278","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_793.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-2978","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617774","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-2978","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-2978","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2005-10-18T04:00:00Z","modified":"2024-08-07T22:53:30.137Z","updated_at":"2026-11-02T14:33:38.187792Z"}],"euvd":[{"id":"EUVD-2005-2978","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2005-10-18T04:00:00Z","modified":"2024-08-07T22:53:30Z","updated_at":"2026-11-03T01:15:28.669844Z"}],"ghsa":[{"id":"GHSA-xf4f-2rfr-r287","title":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index...","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2022-05-01T02:13:19Z","modified":"2025-04-03T04:19:39Z","updated_at":"2026-11-02T15:00:43.562212Z"}],"nvd":[{"id":"CVE-2005-2978","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2005-10-18T22:02:00Z","modified":"2026-06-16T22:16:01.307Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:56.902692Z"}],"osv":[{"id":"CVE-2005-2978","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2005-10-18T22:02:00Z","modified":"2026-04-10T03:37:14.443508Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2005-2978","description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","status":"published","published":"2005-10-18T22:02:00Z","modified":"2026-10-23T03:47:29.772049167Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"DSA-878-1","title":"netpbm-free - buffer overflow","status":"published","published":"2005-10-28T00:00:00Z","modified":"2026-03-09T02:10:49.608845Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"RHSA-2005:793","title":"Red Hat Security Advisory: netpbm security update","status":"published","published":"2024-09-15T15:50:34Z","modified":"2026-06-26T10:03:49Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
