CVE-2018-16888
Reported by redhat · Published January 14, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| systemd | systemd_project | 237 |
| systemd | Ubuntu:16.04:LTS | 229-4ubuntu21.27 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The systemd Project | systemd | v237 |
| The systemd Project | systemd | 237 |
| chainguard | py3-systemd | * |
Timeline
- Jan 14, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16888
vulnetix vdb fixes CVE-2018-16888
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16888/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2019:2091 vendor-advisoryx_refsource_REDHAT
- [cassandra-user] 20190809 cassandra does not start with new systemd version mailing-listx_refsource_MLIST
- USN-4269-1 vendor-advisoryx_refsource_UBUNTU