LiveActive security incident?Get immediate response
CVE Record

CVE-2018-15686: systemd: reexec state injection: fgets() on overlong lines leads to line splitting

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.

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2018-15686 is a local systemd vulnerability that can let a low-privileged user influence systemd state during re-execution. Successful exploitation could lead to root privilege escalation. It affects systemd releases up to and including 239, so exposure is mainly older or unpatched Linux systems.

Executive priority

Treat this as a high-priority legacy Linux hygiene issue. It is not described as remotely exploitable, but it can turn limited local access into full system compromise on unpatched systems.

Technical view

The flaw is in systemd unit_deserialize handling. Overlong lines read with fgets can be split, allowing crafted state injection across systemd reexec via NotifyAccess. The CVSS 3.0 score is 7.0 with local access, high complexity, and low privileges required.

Likely exposure

Highest risk is on Linux hosts, appliances, or container images still carrying systemd 239 or older without vendor backports. Direct internet exposure is not indicated because the attack is local, but multi-user systems, build hosts, and shared workloads have higher practical risk.

Exploitation context

The bundle references an Exploit-DB entry, indicating public exploit material exists. It does not show CISA KEV listing or confirmed active exploitation. Exploitation requires local privileges and appears high-complexity, but the impact can include root-level compromise.

Researcher notes

Focus validation on systemd reexec state handling, package backports, and distribution advisories. Evidence supports local privilege escalation risk and public exploit availability, but not active exploitation in KEV or the supplied sources.

Mitigation direction

  • Apply the relevant vendor systemd security update for each distribution.
  • Prioritize legacy hosts and base images using systemd 239 or older.
  • Check vendor advisories before assuming a package version is vulnerable or fixed.
  • Replace unsupported operating systems that no longer receive systemd fixes.
  • Review shared or multi-user systems for urgent remediation first.

Validation and detection

  • Inventory systemd package versions across servers, images, and appliances.
  • Confirm vendor security errata are installed, not just upstream version numbers.
  • Check vulnerability scanner findings against distribution-specific backport advisories.
  • Identify local-user exposure on shared servers and build environments.
  • Verify no critical workloads remain on unsupported Linux releases.
Prepared
Confidence
high
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-15686 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
11Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

7High
CVSS 3.0 vector shape for CVE-2018-15686Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
systemdsystemdunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.