
CVE catalog
CVE-2017-5899
s-nail: CVE-2017-5899
- Severity
- High · CVSS 7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.98% · Oct 25, 2026
Directory traversal vulnerability in the setuid root helper binary in S-nail (later S-mailx) before 14.8.16 allows local users to write to arbitrary files and consequently gain root privileges via a .. (dot dot) in the randstr argument.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | s-nail | sid | 14.9.25-3 | fixed |
| Debian | s-nail | forky | 14.9.25-3 | fixed |
| Debian | s-nail | trixie | 14.9.25-1 | fixed |
| Debian | s-nail | bookworm | 14.9.24-2 | fixed |
| Ubuntu | s-nail | pro | 14.8.5-1 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-2 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-3 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-4 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-5 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.6-1 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.6-1ubuntu0.1~esm1 | fixed |
| Ubuntu | s-nail | pro | 14.8.5-1 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-2 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-3 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-4 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.5-5 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.6-1 | vulnerable |
| Ubuntu | s-nail | pro | 14.8.6-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | s-nail | source | sid | 14.8.16-1 | not yet assigned | Not reported | [852934] |
| Debian | s-nail | source | forky | 14.8.16-1 | not yet assigned | Not reported | [852934] |
| Debian | s-nail | source | trixie | 14.8.16-1 | not yet assigned | Not reported | [852934] |
| Debian | s-nail | source | bookworm | 14.8.16-1 | not yet assigned | Not reported | [852934] |
| Ubuntu | s-nail | deb | pro | 14.8.6-1ubuntu0.1~esm1 | Not reported | USN-4820-1 | Not reported |
| Ubuntu | s-nail | deb | pro | 14.8.6-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2017-5899 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [s-nail]Fixed
Details (2)
14.9.24-2· amd64 · bookwormFixed · Fixed:
14.8.16-1dsa · s-nail · debian · bookworm; dsa · s-nail · debian · 12
14.9.24-2· arm64 · bookwormFixed · Fixed:
14.8.16-1dsa · s-nail · debian · bookworm; dsa · s-nail · debian · 12
[Debian 13 (Trixie)]
- [s-nail]Fixed
Details (2)
14.9.25-1· amd64 · trixieFixed · Fixed:
14.8.16-1dsa · s-nail · debian · 13
14.9.25-1· arm64 · trixieFixed · Fixed:
14.8.16-1dsa · s-nail · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-5899]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-5899]
- [https://osv.dev/vulnerability/USN-4820-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-5899]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-5899.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]