CVE-2018-16888: Medium severity Systemd Project Systemd vulnerability

Published Jan 2, 2019
·
Updated

It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run from an unprivileged user (e.g. User field set in the service file), a local attacker who is able to write to the PIDFile of the mentioned service may use this flaw to trick systemd into killing other services and/or privileged processes. Versions before v237 are vulnerable.

Other sources

systemd up to version 237 does not perform any check on the content of the PIDFile file of a service, which may result in systemd killing a process owned by other services when the service the PIDFile belongs to is stopped. In case the PIDFile is owned by unprivileged users (e.g. a service run with a different User field), systemd may kill privileged processes. A local attacker who is able to tamper with the PIDFile of a service may trick systemd into killing processes he would not have permissions to kill, in the moment a privileged user tries to kill the mentioned service.

Upstream patches: https://github.com/systemd/systemd/pull/7816

Upstream issue: https://github.com/systemd/systemd/issues/6632

Red Hat

Affected Software

9 affected componentsFixes available
redhat/systemd<237
237
Systemd Project Systemd<237
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
redhat Enterprise Linux=7.0
NetApp Active Iq Performance Analytics Services
NetApp Element Software
debian/systemd
247.3-7+deb11u5247.3-7+deb11u7252.39-1~deb12u1252.38-1~deb12u1257.9-1~deb13u1259.1-1

Event History

Jan 14, 2019
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Feb 20, 2026
Data Sourced
via Ubuntu·05:45 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·05:46 PM
Description
Data Sourced
via Debian·05:46 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2018-16888.

2

What is the severity of CVE-2018-16888?

CVE-2018-16888 has a severity rating of 4.7, which is considered medium.

3

Which software vendors are affected by CVE-2018-16888?

CVE-2018-16888 affects Redhat, Canonical, and Netapp.

4

How can I fix CVE-2018-16888?

To fix CVE-2018-16888, you should update your systemd package to version 237 or higher.

5

Where can I find more information about CVE-2018-16888?

You can find more information about CVE-2018-16888 on the MITRE, Ubuntu, and NIST websites.

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