CVE-2008-3916
Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted…
Check your servers for CVE-2008-3916
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-3916 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 3.60%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 90.2% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-3916 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-3916RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-3916Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-3916
trivy image --scanners vuln IMAGE | grep CVE-2008-3916
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 43068 secunia.com · third party advisory
- RHSA-2008:0946 redhat.com · vendor advisory
- 38794 secunia.com · third party advisory
- FEDORA-2008-9263 redhat.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-461.htm support.avaya.com
- FEDORA-2008-9236 redhat.com · vendor advisory
- MDVSA-2008:200 mandriva.com · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0003.html vmware.com
- 33005 secunia.com · third party advisory
- SUSE-SR:2011:002 lists.opensuse.org · vendor advisory
- 32349 secunia.com · third party advisory
- GLSA-200809-15 security.gentoo.org · vendor advisory
- 32460 secunia.com · third party advisory
Other references
- ADV-2008-3347 vupen.com · vdb entry
- oval:org.mitre.oval:def:10678 oval.cisecurity.org · vdb entry, signature
- ADV-2011-0212 vupen.com · vdb entry
- [security-announce] 20100303 VMSA-2010-0004 ESX Service Console and vMA third party updates lists.vmware.com · mailing list
- 30815 securityfocus.com · vdb entry
- gnued-stripescapes-bo(44643) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2008-2642 vupen.com · vdb entry
- [bug-ed] 20080821 Version 1.0 of GNU ed released lists.gnu.org · mailing list
- 1020734 securitytracker.com · vdb entry
- 20090227 VMSA-2009-0003 ESX 2.5.5 patch 12 updates service console package ed securityfocus.com · mailing list
- ADV-2010-0528 vupen.com · vdb entry
Source: the record CVE-2008-3916 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse