CVE & CISA-KEV Catalog

CVE-2017-5899

HIGH
7.0
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
s-nailDebian
Fixed in:14.8.16-1CVE-2017-5899
Fixed in:14.8.16-1CVE-2017-5899
Fixed in:14.8.16-1CVE-2017-5899
Fixed in:14.8.16-1CVE-2017-5899
heirloom-mailxUbuntu
Fixed in:14.8.6-1ubuntu0.1~esm1USN-4820-1
s-nailUbuntu
Fixed in:14.8.6-1ubuntu0.1~esm1USN-4820-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.01%probability of exploitation in 30 days
59thpercentile

Moderate risk: more likely to be exploited than 59% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Other references1

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2017-5899
CVE-2017-5899 severity badge

Markdown

[![CVE-2017-5899](https://tridentstack.com/cve/badge/CVE-2017-5899.svg)](https://tridentstack.com/cve/CVE-2017-5899)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-5899"><img src="https://tridentstack.com/cve/badge/CVE-2017-5899.svg" alt="CVE-2017-5899"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-13.