CVE-2018-15687
A public proof of concept exists; no exploitation attested.
- Published2018-10-26
- WeaknessCWE-362
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary files. Affected releases are systemd versions up to and including 239.
Timeline
dates in UTC- 2018-10-29Exploit-DB entryExploit-DB
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 18.10 | = 18.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 240.x | ≥ 235, < 240 | 240 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As canonical, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- systemdAffected
- ≤ 239no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2018-11-13
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- py3-systemdChainguardall versions · fixed in 0and 2 other packages
- systemdUbuntu:18.04:LTSall versions · fixed in 237-3ubuntu10.6
- systemdUbuntu:16.04:LTSall versions · fixed in 229-4ubuntu21.8
- systemdopenSUSE:Tumbleweedall versions · fixed in 249.4-2.2
- systemdDebian:14all versions · fixed in 239-11
- systemdDebian:13all versions · fixed in 239-11
- systemdDebian:12all versions · fixed in 239-11
Vendor advisories
- CVE-2018-15687 Red Hat Product Security
systemd: Dereference of symlinks in chown_recursive.c:chown_one() allows for modification of file privileges
Fix
Advisories and patches
- github.comPatch
Detection
read 2026-11-19 10:48 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-06-09
- NVDCVSS 3.17read 2026-10-23
- CNACVSS 3.07.8known since 2026-10-23
- NVDCVSS 2.06.9read 2026-10-23
- CISA-ADPweakness (CWE)CWE-3622025-06-09
- NVDweakness (CWE)CWE-362read 2026-10-23
- FIRST EPSSEPSS score1.1 %2026-11-18
- Exploit-DBdetectionread 2026-11-19
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- CGA-5cqm-63hh-77h4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rgp-fg8m-h7mmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8hrf-7q7c-cxx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jj38-j6c5-2jwwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mmx2-9jff-9mrwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qgxj-3xq9-34v5same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2018-7557same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wxcv-623q-99fjsame flawGitHub Advisory Database · CC-BY-4.0
- openSUSE-SU-2024:11420-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-3816-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-10-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-wxcv-623q-99fj
Frequently asked questions
What is CVE-2018-15687?
Is CVE-2018-15687 actively exploited?
What is the CVSS score for CVE-2018-15687?
Running systemd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wxcv-623q-99fj
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0