VDB

CVE-2018-15686

CVE-2018-15686 PUBLISHED CVSS 7 HIGH

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.

PackageEcosystemFixed in
systemd-libsAmazon Linux219-78.amzn2.0.14
systemd-networkdAmazon Linux219-78.amzn2.0.14
systemd-resolvedAmazon Linux219-78.amzn2.0.14
systemd-journal-gatewayAmazon Linux219-78.amzn2.0.14
systemdAmazon Linux219-78.amzn2.0.14
systemd-sysvAmazon Linux219-78.amzn2.0.14
systemd-pythonAmazon Linux219-78.amzn2.0.14
libgudev1-develAmazon Linux219-78.amzn2.0.14
systemdArch Linux239.300-1
libgudev1Amazon Linux219-78.amzn2.0.14
systemd-develAmazon Linux219-78.amzn2.0.14
systemdsystemd_project239

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.0
7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
systemdsystemdunspecified
amazon:2systemd-libs0
amazon:2systemd-networkd0
amazon:2systemd-resolved0
amazon:2systemd-journal-gateway0
amazon:2systemd0
amazon:2systemd-sysv0
systemdsystemd*
amazon:2systemd-python0
amazon:2libgudev1-devel0
archsystemd0
amazon:2libgudev10
chainguardpy3-systemd*
amazon:2systemd-devel0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›