{"id":"CVE-2005-2536","aliases":["DEBIAN-CVE-2005-2536","DSA-792-1","EUVD-2005-2537","GHSA-rgwq-9vqf-cvgq"],"status":"published","title":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to...","description":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.","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.02336,"percentile":0.83686,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-08-10T04:00:00Z","modified":"2026-06-16T22:15:09Z","fixes":[{"ecosystem":"Debian:3.0","package":"pstotext","fixed_in":["1.8g-5woody1"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"pstotext","fixed_in":["1.9-1sarge1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"pstotext","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8g-5woody1"}]}],"versions":["1.8g-5"]},{"source":"osv","ecosystem":"Debian:3.1","package":"pstotext","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-1sarge1"}]}],"versions":["1.9-1"]}],"products":[{"vendor":"pstotext","product":"pstotext"}],"references":[{"url":"http://www.gentoo.org/security/en/glsa/glsa-200507-29.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/16305","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-792","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/16624","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/16183/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/21498","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/14378","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2536"},{"url":"http://secunia.com/advisories/16183"},{"url":"https://github.com/advisories/GHSA-rgwq-9vqf-cvgq"}],"sources":{"cve":[{"id":"CVE-2005-2536","description":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.","status":"published","published":"2005-08-10T04:00:00Z","modified":"2024-08-07T22:30:01.185Z","updated_at":"2026-11-02T14:33:37.840038Z"}],"euvd":[{"id":"EUVD-2005-2537","description":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.","status":"published","published":"2005-08-10T04:00:00Z","modified":"2024-08-07T22:30:01Z","updated_at":"2026-11-03T01:15:30.566873Z"}],"ghsa":[{"id":"GHSA-rgwq-9vqf-cvgq","title":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to...","description":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.","status":"published","published":"2022-05-01T02:09:07Z","modified":"2025-04-03T04:17:13Z","updated_at":"2026-11-02T15:00:42.615226Z"}],"nvd":[{"id":"CVE-2005-2536","description":"pstotext before 1.8g does not properly use the \"-dSAFER\" option when calling Ghostscript to extract plain text from PostScript and PDF files, which allows remote attackers to execute arbitrary commands via a malicious PostScript file.","status":"published","published":"2005-08-10T04:00:00Z","modified":"2026-06-16T22:15:09.573Z","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":"DSA-792-1","title":"pstotext - missing input sanitising","status":"published","published":"2005-08-31T00:00:00Z","modified":"2026-03-09T02:11:03.682969Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
