| Name | CVE-2017-5357 |
| Description | regex.c in GNU ed before 1.14.1 allows attackers to cause a denial of service (crash) via a malformed command, which triggers an invalid free. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ed (PTS) | bullseye | 1.17-1 | fixed |
| bookworm | 1.19-1 | fixed |
| trixie | 1.21.1-1 | fixed |
| forky, sid | 1.22.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ed | source | (unstable) | (not affected) | | | |
Notes
- ed <not-affected> (Vulnerable code not present, cf #851159)
https://www.openwall.com/lists/oss-security/2017/01/12/5
The issue is only present from 1.14 onwards, and prior to 1.14.1 since upstream
changed a malloc'ed buffer for a static one.
https://lists.gnu.org/archive/html/bug-ed/2017-01/msg00001.html