{"id":"CVE-2008-3916","aliases":["DEBIAN-CVE-2008-3916","EUVD-2008-3901","GHSA-j55v-8789-5phj","RHSA-2008:0946"],"status":"published","title":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows...","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03595,"percentile":0.89523,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2008-09-04T18:00:00Z","modified":"2026-10-23T17:47:44Z","fixes":[{"ecosystem":"Debian:12","package":"ed","fixed_in":["0.7-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ed","fixed_in":["0.7-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ed","fixed_in":["0.7-2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","package":"ed","fixed_in":["0:0.2-21.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","package":"ed","fixed_in":["0:0.2-21.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","package":"ed","fixed_in":["0:0.2-21.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","package":"ed","fixed_in":["0:0.2-21.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"ed","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"ed-debuginfo","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ed","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ed-debuginfo","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"ed","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"ed-debuginfo","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ed","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ed-debuginfo","fixed_in":["0:0.2-33.30E.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"ed","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"ed-debuginfo","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ed","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ed-debuginfo","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"ed","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"ed-debuginfo","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ed","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ed-debuginfo","fixed_in":["0:0.2-36.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"ed","fixed_in":["0:0.2-39.el5_2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"ed-debuginfo","fixed_in":["0:0.2-39.el5_2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"ed","fixed_in":["0:0.2-39.el5_2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"ed-debuginfo","fixed_in":["0:0.2-39.el5_2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::as","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-21.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::aw","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-21.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::es","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-21.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:2.1::ws","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-21.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-33.30E.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-36.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-39.el5_2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-39.el5_2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-39.el5_2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ed-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.2-39.el5_2"}]}]}],"products":[{"vendor":"gnu","product":"ed"}],"references":[{"url":"http://secunia.com/advisories/43068","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/3347","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10678","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0946.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2011/0212","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/38794","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://lists.vmware.com/pipermail/security-announce/2010/000082.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/30815","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00873.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-461.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44643","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/2642","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00847.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.gnu.org/archive/html/bug-ed/2008-08/msg00000.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:200","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0003.html","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/33005","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1020734","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/501298/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/32349","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200809-15.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/32460","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2010/0528","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3916","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j55v-8789-5phj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-3916","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2008:0946","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=462584","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0946.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3916","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3916","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-3916","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2008-09-04T18:00:00Z","modified":"2024-08-07T10:00:41.119Z","updated_at":"2026-11-02T14:34:45.504702Z"}],"euvd":[{"id":"EUVD-2008-3901","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2008-09-04T18:00:00Z","modified":"2024-08-07T10:00:41Z","updated_at":"2026-11-03T01:38:50.380359Z"}],"ghsa":[{"id":"GHSA-j55v-8789-5phj","title":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows...","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2022-05-02T00:05:00Z","modified":"2023-01-31T05:07:10Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:09.743979Z"}],"nvd":[{"id":"CVE-2008-3916","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2008-09-04T18:41:00Z","modified":"2026-06-16T22:56:48.49Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:28.625777Z"}],"osv":[{"id":"CVE-2008-3916","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2008-09-04T18:41:00Z","modified":"2026-04-10T03:40:06.206116Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-3916","description":"Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename.  NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.","status":"published","published":"2008-09-04T18:41:00Z","modified":"2026-10-23T17:47:44.029902691Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"RHSA-2008:0946","title":"Red Hat Security Advisory: ed security update","status":"published","published":"2024-09-15T17:34:23Z","modified":"2026-06-26T10:10:01Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
