CVE-2018-16888 in Canonical Ubuntu Linux and 4 more products
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 system...
Affects 5 products from 4 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 18.04 19.10 |
| Netapp | Element Software | No version listed by the source |
| Netapp | Active Iq Performance Analytics Services | No version listed by the source |
| Redhat | Enterprise Linux | 7.0 |
| Systemd Project | Systemd | < 237 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-16888 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-340499-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2019-01-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-250: CWE-250
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-470 Expanding Control over the Operating System from the Database via CWE-250
CAPEC-69 Target Programs with Elevated Privileges via CWE-250
CAPEC-104 Cross Zone Scripting via CWE-250
CAPEC-122 Privilege Abuse via CWE-269
Show all 6
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Canonical systems (CVE-2018-16888). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2018-16888?
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Canonical systems (CVE-2018-16888). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-16888?
CVE-2018-16888 has CVSS 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.3%.
Is CVE-2018-16888 actively exploited?
No confirmed active exploitation of CVE-2018-16888 as of 2026-09-25.
How do I remediate CVE-2018-16888?
Priority: MONITOR. Advisory: https://access.redhat.com/errata/RHSA-2019:2091
What systems are affected by CVE-2018-16888?
CVE-2018-16888 affects Canonical Ubuntu Linux; Netapp Element Software, Active Iq Performance Analytics Services; Redhat Enterprise Linux; Systemd Project Systemd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.