CVE-2018-1122: High severity Procps-ng Project Procps-ng vulnerability

Published May 7, 2018
·
Updated

If the HOME environment variable is unset or empty, top will read its configuration file from the current working directory without any security check. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could acieve privilege escalation by exploiting one of several vulnerabilities in the configfile() function.

Other sources

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 configfile() function.

Launchpad

Affected Software

11 affected componentsFixes available
redhat/procps-ng<3.3.15
3.3.15
Procps-ng Project Procps-ng<3.3.15
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/procps
2:3.3.17-52:4.0.2-32:4.0.4-9

Event History

May 20, 2018
Data Sourced
09:30 AM
SeverityAffected Software
May 23, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:47 PM
Description
Dec 17, 2025
Data Sourced
via Ubuntu·08:49 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:50 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-1122?

CVE-2018-1122 is a vulnerability in procps-ng that allows for a local privilege escalation in top.

2

How does the CVE-2018-1122 vulnerability work?

The vulnerability occurs when top is run with HOME unset in an attacker-controlled directory, allowing the attacker to exploit vulnerabilities in the config_file() function and gain escalated privileges.

3

What is the severity of CVE-2018-1122?

CVE-2018-1122 has a severity rating of high (7 out of 10).

4

Which software versions are affected by CVE-2018-1122?

Versions of procps-ng before 3.3.15 and certain versions of procps on Red Hat, Debian, and Ubuntu are affected by CVE-2018-1122.

5

How can I fix CVE-2018-1122?

To fix CVE-2018-1122, upgrade to procps-ng version 3.3.15 or higher, or apply the appropriate remedy provided by your distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203