Skip to content
OpenAdvisories
Unscored CVE-2008-3916 EUVD-2008-3901GHSA-j55v-8789-5phj

Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attacke…

Published Sep 4, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ed 0.7-2 —
Debian 13 ed 0.7-2 —
Debian 12 ed 0.7-2 —
ReleasePackageFixed inAdvisory
RHEL 5 ed 0.2-39.el5_2 RHSA-2008:0946
RHEL 4 ed 0.2-36.el4_7.1 RHSA-2008:0946
RHEL 3 ed 0.2-33.30E.1 RHSA-2008:0946
RHEL 2 ed 0.2-21.1 RHSA-2008:0946

Advisories 1

References