Skip to main content
Public proof of conceptFix available

CVE-2018-15687

A public proof of concept exists; no exploitation attested.

  • Published2018-10-26
  • WeaknessCWE-362

Am I 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
  1. 2018-10-29Exploit-DB entryExploit-DB

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
18.10= 18.10no fix published
Systemd project systemd
BranchAffectedFixed in
240.x≥ 235, < 240240

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.

  • systemd
    Affected
    • ≤ 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

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-19 10:48 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-45715
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2018-15687 actively exploited?

Active exploitation of CVE-2018-15687 has not been confirmed. Its EPSS score was 1.1% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-15687?

CVE-2018-15687 has a CVSS v3 base score of 7 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record