{"id":"CVE-2008-3863","aliases":["DEBIAN-CVE-2008-3863","DSA-1670-1","EUVD-2008-3849","GHSA-wp92-87r8-55v9","RHSA-2008:1016","RHSA-2008:1021","openSUSE-SU-2024:10737-1"],"status":"published","title":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1...","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","severity":{"version":"2.0","score":7.6,"vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.08358,"percentile":0.94998,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2008-10-23T21:00:00Z","modified":"2026-10-23T17:47:48Z","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"]},{"ecosystem":"openSUSE:Tumbleweed","package":"enscript","fixed_in":["1.6.6-1.15"],"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:5::client","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.4-4.1.1.el5_2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.4-4.1.1.el5_2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.4-4.1.1.el5_2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"enscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.4-4.1.1.el5_2"}]}],"bundled":2},{"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},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"enscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6-1.15"}]}]}],"products":[{"vendor":"gnu","product":"enscript"}],"references":[{"url":"http://www.vupen.com/english/advisories/2008/2891","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/32137","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46026","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/31858","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/32521","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00040.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9939","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00014.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-1016.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-504.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/usn-660-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/35074","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0321","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://securityreason.com/securityalert/4488","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200812-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/497647/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/498385/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://issues.rpath.com/browse/RPL-2887","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/32854","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:243","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/32970","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/32530","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2008/dsa-1670","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/secunia_research/2008-41/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/32753","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/33109","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2008-1021.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3863","tags":["advisory"]},{"url":"http://secunia.com/secunia_research/2008-41"},{"url":"https://github.com/advisories/GHSA-wp92-87r8-55v9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-3863","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2008:1016","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_1016.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://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/errata/RHSA-2008:1021","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=473958","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-5078","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5078","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5078","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2008-3863","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2008-3863","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2008-10-23T21:00:00Z","modified":"2024-08-07T09:53:00.565Z","updated_at":"2026-11-02T14:34:45.877751Z"}],"euvd":[{"id":"EUVD-2008-3849","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2008-10-23T21:00:00Z","modified":"2024-08-07T09:53:00Z","updated_at":"2026-11-03T01:38:50.380359Z"}],"ghsa":[{"id":"GHSA-wp92-87r8-55v9","title":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1...","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2022-05-02T00:04:24Z","modified":"2025-04-09T04:00:59Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:00:58.538673Z"}],"nvd":[{"id":"CVE-2008-3863","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2008-10-23T22:00:01.323Z","modified":"2026-06-16T22:56:41.65Z","cvss":[{"version":"2.0","score":7.6,"vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:29.223028Z"}],"osv":[{"id":"CVE-2008-3863","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2008-10-23T22:00:01Z","modified":"2026-04-10T03:40:06.577542Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-3863","description":"Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.","status":"published","published":"2008-10-23T22:00:01.323Z","modified":"2026-10-23T17:47:48.115365633Z","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":"openSUSE-SU-2024:10737-1","title":"enscript-1.6.6-1.15 on GA media","description":"These are all security issues fixed in the enscript-1.6.6-1.15 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:08:34.688516Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"RHSA-2008:1016","title":"Red Hat Security Advisory: enscript security update","status":"published","published":"2024-09-15T17:37:39Z","modified":"2026-06-26T10:10:10Z","updated_at":"2026-11-02T15:53:00.468834Z"},{"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"}]}}
