CVE-2018-15686
systemd: reexec state injection: fgets() on overlong lines leads to line splitting
Reported by canonical · Published October 26, 2018
A vulnerability in unit_deserialize of systemd allows an attacker to supply arbitrary state across systemd re-execution via NotifyAccess. This can be used to improperly influence systemd execution and possibly lead to root privilege escalation. Affected releases are systemd versions up to and including 239.
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-libs | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-networkd | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-resolved | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-journal-gateway | Amazon Linux | 219-78.amzn2.0.14 |
| systemd | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-sysv | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-python | Amazon Linux | 219-78.amzn2.0.14 |
| libgudev1-devel | Amazon Linux | 219-78.amzn2.0.14 |
| systemd | Arch Linux | 239.300-1 |
| libgudev1 | Amazon Linux | 219-78.amzn2.0.14 |
| systemd-devel | Amazon Linux | 219-78.amzn2.0.14 |
| systemd | systemd_project | 239 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| systemd | systemd | unspecified |
| amazon:2 | systemd-libs | 0 |
| amazon:2 | systemd-networkd | 0 |
| amazon:2 | systemd-resolved | 0 |
| amazon:2 | systemd-journal-gateway | 0 |
| amazon:2 | systemd | 0 |
| amazon:2 | systemd-sysv | 0 |
| systemd | systemd | * |
| amazon:2 | systemd-python | 0 |
| amazon:2 | libgudev1-devel | 0 |
| arch | systemd | 0 |
| amazon:2 | libgudev1 | 0 |
| chainguard | py3-systemd | * |
| amazon:2 | systemd-devel | 0 |
Timeline
- Oct 26, 2018 CVE Published
- Oct 26, 2018 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (10 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-15686
vulnetix vdb fixes CVE-2018-15686
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-15686/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201810-10 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20181119 [SECURITY] [DLA 1580-1] systemd security update mailing-listx_refsource_MLIST
- 105747 vdb-entryx_refsource_BID
- 45714 exploitx_refsource_EXPLOIT-DB
- USN-3816-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:2091 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3222 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0593 vendor-advisoryx_refsource_REDHAT
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC