Back
CVE-2018-15686
systemd: reexec state injection: fgets() on overlong lines leads to line splitting
High7.0EPSS 2.3%
- Published
- Updated
- Reserved
- Assigned by
- canonical
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonicalCNA (assigner) | 3.0 | High7.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.3% · top 17% of all CVEs (4 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Weakness
- fgets() can be confused by overly-long input strings. The first read will return a partial string and subsequent reads will begin as if it were a new line.
- CWE-502 Deserialization of Untrusted Data (opens in a new tab)All about CWE-502 and its CVEs
Affected products
References (11)
- GLSA-201810-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20181119 [SECURITY] [DLA 1580-1] systemd security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 105747 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 45714 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- USN-3816-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:2091 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3222 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0593 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/systemd/systemd/pull/10519 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-15686)Record last updated .