CVE-2018-15686: systemd: reexec state injection: fgets() on overlong lines leads to line splitting
Noroxi assessment
Priority: Monitor (action score 32/100)
- Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83.2% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: systemd (Debian:12) 239-12; systemd (Debian:8) 215-17+deb8u8; systemd (openSUSE:Tumbleweed) 249.4-2.2.
Low priority for now. Upgrade to systemd (Debian:12) 239-12; systemd (Debian:8) 215-17+deb8u8; systemd (openSUSE:Tumbleweed) 249.4-2.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 26, 2018
- Updated
- Jun 16, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-502
Report tools
Action score
32
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · canonical
- 7.0
- 0.8 point gap
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| systemd project | systemd | cpe:2.3:a:systemd_project:systemd |
| oracle | communications cloud native core network function cloud native environment | cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (canonical). Independent of NVD's CPE analysis and usually ahead of it.
systemd systemd
- unspecified and later · up to and including 239affected
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- oracle communications cloud native core network function cloud native environment1.4.0
- systemd project systemdup to 239 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | systemd | before 239-12 | 239-12 |
| Debian:8 | systemd | before 215-17+deb8u8 | 215-17+deb8u8 |
| openSUSE:Tumbleweed | systemd | before 249.4-2.2 | 249.4-2.2 |
| Red Hat:enterprise_linux:7::client | libgudev1 | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | libgudev1-devel | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-debuginfo | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-devel | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-journal-gateway | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-libs | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-networkd | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-python | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-resolved | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:enterprise_linux:7::client | systemd-sysv | before 0:219-67.el7 | 0:219-67.el7 |
| Red Hat:rhel_aus:7.4::server | libgudev1 | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | libgudev1-devel | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-debuginfo | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-devel | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-journal-gateway | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-libs | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-networkd | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-python | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
| Red Hat:rhel_aus:7.4::server | systemd-resolved | before 0:219-42.el7_4.20 | 0:219-42.el7_4.20 |
+27
Same product
canonical: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-3493The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities…KEV76This week
- CVE-2017-14492Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code…67This week
- CVE-2017-14493Stack-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code…65This week
Published before and after this one in the same product
- ← EarlierCVE-2018-12370Oct 18, 2018 · In Reader View SameSite cookie protections are not checked on exiting.35Monitor
- ← EarlierCVE-2018-18653Oct 25, 2018 · The Linux kernel, as used in Ubuntu 18.10 and when booted with UEFI Secure Boot enabled, allows privileged local users to bypass intended…31Monitor
- Later →CVE-2018-15687Oct 26, 2018 · systemd: chown_one() can dereference symlinks28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:systemd | 239-12 · Debian:12 | Package registry (OSV) |
| opensuse:systemd | 249.4-2.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libgudev1 | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libgudev1-devel | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-debuginfo | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-devel | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-journal-gateway | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-libs | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-networkd | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-python | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-resolved | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:systemd-sysv | 0:219-67.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:systemd | 234-24.15.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2018-10-29 |
| Proof-of-concept repository on GitHub | stars:0 | 2019-10-03 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+3 d
- TodayNov 16, 2026+2943 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Jann HornGoogle
Not on record for this CVE: EPSS history · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-502 · Deserialization of Untrusted DataCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
Data received over the network is deserialized into the language’s native object format without verifying its source. Code paths inside the object can be triggered during deserialization.
The bug in code
The whole CWE-502 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
payload = sock.recv(65536)
job = pickle.loads(payload)Fixed
payload = sock.recv(65536)
if not hmac.compare_digest(sign(payload), header_sig):
raise PermissionError("invalid signature")
job = JobSchema.validate(json.loads(payload))Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- access.redhat.com/errata/RHSA-2019:2091
- access.redhat.com/errata/RHSA-2019:3222
- access.redhat.com/errata/RHSA-2020:0593
- github.com/systemd/systemd/pull/10519
- lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/11/msg00017.html
- security.gentoo.org/glsa/201810-10
- usn.ubuntu.com/3816-1/
- www.oracle.com//security-alerts/cpujul2021.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.