CVE-2018-1122: Canonical Ubuntu Linux
High severity, CVSS 7.0. EPSS: 1.3% chance of exploitation in the next 30 days.
procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could achieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function.
Affected products
- Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 16.04 only; version 17.10 only; version 18.04 only
- Debian Debian Linux: version 7.0 only; version 8.0 only; version 9.0 only
- Procps-NG Project Procps-NG: before 3.3.15 (fixed in 3.3.15)
Published 2018-05-23. Last modified 2026-06-17.