CVE-2008-3916
Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows...
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.
Exploit likelihood
What each source reports
NVD Score used
9.3
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.
- Record
CVE-2008-3916- CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-3916- Updated
- 2026-11-02
EUVDEUVD-2008-3901 No score
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.
- Record
EUVD-2008-3901- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j55v-8789-5phj No score
Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows...
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.
- Record
GHSA-j55v-8789-5phj- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2008-3916- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-3916 No score
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.
- Record
DEBIAN-CVE-2008-3916- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
edDebian:12 |
before 0.7-2 | 0.7-2 |
edDebian:13 |
before 0.7-2 | 0.7-2 |
edDebian:14 |
before 0.7-2 | 0.7-2 |
edRed Hat:enterprise_linux:2.1::as |
before 0:0.2-21.1 | 0:0.2-21.1 |
edRed Hat:enterprise_linux:2.1::aw |
before 0:0.2-21.1 | 0:0.2-21.1 |
edRed Hat:enterprise_linux:2.1::es |
before 0:0.2-21.1 | 0:0.2-21.1 |
edRed Hat:enterprise_linux:2.1::ws |
before 0:0.2-21.1 | 0:0.2-21.1 |
edRed Hat:enterprise_linux:3::as |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
ed-debuginfoRed Hat:enterprise_linux:3::as |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
edRed Hat:enterprise_linux:3::desktop |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ed-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
edRed Hat:enterprise_linux:3::es |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
ed-debuginfoRed Hat:enterprise_linux:3::es |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
edRed Hat:enterprise_linux:3::ws |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
ed-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:0.2-33.30E.1 | 0:0.2-33.30E.1 |
edRed Hat:enterprise_linux:4::as |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
ed-debuginfoRed Hat:enterprise_linux:4::as |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
edRed Hat:enterprise_linux:4::desktop |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
ed-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
edRed Hat:enterprise_linux:4::es |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
ed-debuginfoRed Hat:enterprise_linux:4::es |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
edRed Hat:enterprise_linux:4::ws |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
ed-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:0.2-36.el4_7.1 | 0:0.2-36.el4_7.1 |
edRed Hat:enterprise_linux:5::client |
before 0:0.2-39.el5_2 | 0:0.2-39.el5_2 |
ed-debuginfoRed Hat:enterprise_linux:5::client |
before 0:0.2-39.el5_2 | 0:0.2-39.el5_2 |
edRed Hat:enterprise_linux:5::server |
before 0:0.2-39.el5_2 | 0:0.2-39.el5_2 |
ed-debuginfoRed Hat:enterprise_linux:5::server |
before 0:0.2-39.el5_2 | 0:0.2-39.el5_2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-3916 is a high vulnerability (CVSS 9.3) in Gnu Ed, published September 4, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.60%, the 89th percentile. Fixed in ed 0.7-2.
References
secunia.com/advisories/43068
vupen.com/english/advisories/2008/3347
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10678
redhat.com/support/errata/RHSA-2008-0946.html
vupen.com/english/advisories/2011/0212
secunia.com/advisories/38794
Show 27 moreShow less
lists.vmware.com/pipermail/security-announce/2010/000082.html
securityfocus.com/bid/30815
redhat.com/archives/fedora-package-announce/2008-October/msg00873.html
support.avaya.com/elmodocs2/security/ASA-2008-461.htm
exchange.xforce.ibmcloud.com/vulnerabilities/44643
vupen.com/english/advisories/2008/2642
redhat.com/archives/fedora-package-announce/2008-October/msg00847.html
lists.gnu.org/archive/html/bug-ed/2008-08/msg00000.html
mandriva.com/security/advisories?name=MDVSA-2008:200
vmware.com/security/advisories/VMSA-2009-0003.html
secunia.com/advisories/33005
lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
securitytracker.com/id?1020734
securityfocus.com/archive/1/501298/100/0/threaded
secunia.com/advisories/32349
security.gentoo.org/glsa/glsa-200809-15.xml
secunia.com/advisories/32460
vupen.com/english/advisories/2010/0528
nvd.nist.gov/vuln/detail/CVE-2008-3916
github.com/advisories/GHSA-j55v-8789-5phj
security-tracker.debian.org/tracker/CVE-2008-3916
access.redhat.com/errata/RHSA-2008:0946
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=462584
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0946.json
access.redhat.com/security/cve/CVE-2008-3916
cve.org/CVERecord?id=CVE-2008-3916