{"id":"CVE-2005-2471","aliases":["DEBIAN-CVE-2005-2471","DSA-1021-1","EUVD-2005-2472","GHSA-9hfq-3c4w-mxr2","RHSA-2005:743"],"status":"published","title":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert...","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","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.03741,"percentile":0.89916,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-08-05T04:00:00Z","modified":"2026-10-23T03:47:36Z","fixes":[{"ecosystem":"Debian:12","package":"netpbm-free","fixed_in":["2:10.0-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"netpbm-free","fixed_in":["2:10.0-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"netpbm-free","fixed_in":["2:10.0-9"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"netpbm-free","fixed_in":["2:9.20-8.6"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"netpbm-free","fixed_in":["2:10.0-8sarge3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-debuginfo","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-devel","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm-progs","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-debuginfo","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-devel","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm-progs","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-debuginfo","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-devel","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm-progs","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-debuginfo","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-devel","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm-progs","fixed_in":["0:9.24-11.30.2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-debuginfo","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-devel","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-progs","fixed_in":["0:10.25-2.EL4.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-9"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:9.20-8.6"}]}],"versions":["2:9.20-8.4","2:9.20-8.5"]},{"source":"osv","ecosystem":"Debian:3.1","package":"netpbm-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:10.0-8sarge3"}]}],"versions":["2:10.0-8","2:10.0-8sarge1","2:10.0-8sarge2"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.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.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.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.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.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.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.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.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.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.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.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.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.24-11.30.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.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.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.2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"netpbm-progs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:10.25-2.EL4.1"}]}]}],"products":[{"vendor":"netpbm","product":"netpbm"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/21500","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/14379","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2005_19_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11645","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.trustix.org/errata/2005/0038/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2006/dsa-1021","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319757","tags":["x_refsource_MISC","x_transferred","web","article"]},{"url":"http://secunia.com/advisories/18330","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://securitytracker.com/id?1014752","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/19436","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/16184","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-743.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.osvdb.org/18253","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2471","tags":["advisory"]},{"url":"http://www.trustix.org/errata/2005/0038"},{"url":"https://github.com/advisories/GHSA-9hfq-3c4w-mxr2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-2471","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:743","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=165354","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_743.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-2471","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617722","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-2471","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-2471","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2005-08-05T04:00:00Z","modified":"2024-08-07T22:30:00.952Z","updated_at":"2026-11-02T14:33:38.187792Z"}],"euvd":[{"id":"EUVD-2005-2472","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2005-08-05T04:00:00Z","modified":"2024-08-07T22:30:00Z","updated_at":"2026-11-03T01:15:30.566873Z"}],"ghsa":[{"id":"GHSA-9hfq-3c4w-mxr2","title":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert...","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2022-05-01T02:08:40Z","modified":"2025-04-03T04:17:02Z","updated_at":"2026-11-02T15:00:42.615226Z"}],"nvd":[{"id":"CVE-2005-2471","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2005-08-05T04:00:00Z","modified":"2026-06-16T22:14:57.22Z","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.147496Z"}],"osv":[{"id":"CVE-2005-2471","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2005-08-05T04:00:00Z","modified":"2026-04-10T03:37:09.080157Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2005-2471","description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","status":"published","published":"2005-08-05T04:00:00Z","modified":"2026-10-23T03:47:36.535333106Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"DSA-1021-1","title":"netpbm-free - insecure program execution","status":"published","published":"2006-03-28T00:00:00Z","modified":"2026-03-09T01:01:06.250015Z","updated_at":"2026-11-02T15:46:13.900249Z"},{"id":"RHSA-2005:743","title":"Red Hat Security Advisory: netpbm security update","status":"published","published":"2024-09-17T00:35:02Z","modified":"2026-06-26T10:03:40Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
