{"id":"CVE-2008-5078","aliases":["DEBIAN-CVE-2008-5078","DSA-1670-1","EUVD-2008-5057","GHSA-x6rc-qrph-cq5h","RHSA-2008:1021"],"status":"published","title":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2)...","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.03086,"percentile":0.87779,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2008-11-24T00:00:00Z","modified":"2026-10-23T17:47:24Z","fixes":[{"ecosystem":"Debian:12","package":"enscript","fixed_in":["1.6.4-13"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"enscript","fixed_in":["1.6.4-13"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"enscript","fixed_in":["1.6.4-13"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-13"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-13"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-13"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-11.1"}]}],"versions":["1.6.4-11"],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::as","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-16.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::aw","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-16.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::es","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-16.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::ws","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-16.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-24.7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-33.el4_7.1"}]}],"bundled":3}],"products":[{"vendor":"gnu","product":"escript"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47680","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-504.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/33181","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-1021.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11807","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1021401","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=473958","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5078","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x6rc-qrph-cq5h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-5078","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2008:1021","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=466771","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=469311","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_1021.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3863","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3863","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3863","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4306","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4306","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4306","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5078","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5078","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-5078","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2008-12-19T17:00:00Z","modified":"2024-08-07T10:40:17.17Z","updated_at":"2026-11-02T14:34:43.943588Z"}],"euvd":[{"id":"EUVD-2008-5057","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2008-12-19T17:00:00Z","modified":"2024-08-07T10:40:17Z","updated_at":"2026-11-03T01:38:44.942911Z"}],"ghsa":[{"id":"GHSA-x6rc-qrph-cq5h","title":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2)...","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2022-05-17T00:45:27Z","modified":"2023-02-03T05:02:30Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:53:10.732497Z"}],"nvd":[{"id":"CVE-2008-5078","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2008-12-19T17:30:02.953Z","modified":"2026-06-16T22:59:12.78Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:30.411919Z"}],"osv":[{"id":"CVE-2008-5078","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2008-12-19T17:30:02Z","modified":"2026-04-10T03:40:19.349181Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-5078","description":"Multiple buffer overflows in the (1) recognize_eps_file function (src/psgen.c) and (2) tilde_subst function (src/util.c) in GNU enscript 1.6.1, and possibly earlier, might allow remote attackers to execute arbitrary code via an epsf escape sequence with a long filename.","status":"published","published":"2008-12-19T17:30:02.953Z","modified":"2026-10-23T17:47:24.716412644Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"DSA-1670-1","title":"enscript - arbitrary code execution","status":"published","published":"2008-11-24T00:00:00Z","modified":"2026-03-09T01:22:37.722207Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"RHSA-2008:1021","title":"Red Hat Security Advisory: enscript security update","status":"published","published":"2024-09-15T17:37:44Z","modified":"2026-06-26T10:10:11Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
