Skip to main content
No exploitation reportedFix available

CVE-2018-16865

No exploitation reported by the sources we read.

  • Published2019-01-11
  • WeaknessCWE-770

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

An allocation of memory without limits, that could result in the stack clashing with another memory region, was discovered in systemd-journald when many entries are sent to the journal socket. A local attacker, or a remote one if systemd-journal-remote is used, may use this flaw to crash systemd-journald or execute code with journald privileges. Versions through v240 are vulnerable.

Timeline

dates in UTC
  1. 2019-01-1121:29CVE publishedNVD

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
Oracle communications session border controller
BranchAffectedFixed in
8.0= 8.0.0no fix published
8.1= 8.1.0no fix published
8.2= 8.2.0no fix published
Debian debian linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published

8 more products in the sources.

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 redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • The systemd Project systemd
    Affected
    • = through v240no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2021-07-20

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
  • redhat-release-virtualization-hostRed Hat:enterprise_linux:7::hypervisorall versions · fixed in 0:4.2-8.1.el7and 1 other package
  • redhat-virtualization-hostRed Hat:enterprise_linux:7::hypervisorall versions · fixed in 0:4.2-20190129.0.el7_6and 1 other package
  • rhvm-applianceRed Hat:enterprise_linux:7::hypervisorall versions · fixed in 2:4.2-20190129.0.el7
  • systemdUbuntu:18.04:LTSall versions · fixed in 237-3ubuntu10.11
  • systemdUbuntu:16.04:LTSall versions · fixed in 229-4ubuntu21.15
  • systemdSUSE:OpenStack Cloud 7all versions · fixed in 228-150.58.1
  • systemdSUSE:Linux Enterprise Software Development Kit 12 SP4all versions · fixed in 228-150.58.1

33 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-16865 Red Hat Product Security435 products fixed

    systemd: stack overflow when receiving many journald entries

  • RHSA-2019:2402 Red Hat Product Security72 products fixed

    Red Hat Security Advisory: systemd security update

  • RHSA-2019:0361 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: rhvm-appliance security update

  • RHSA-2019:0342 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: redhat-virtualization-host security update

  • RHSA-2019:0271 Red Hat Product Security90 products fixed

    Red Hat Security Advisory: systemd security update

  • RHSA-2019:0204 Red Hat Product Security90 products fixed

    Red Hat Security Advisory: systemd security update

1 more advisory

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2019:2402 · 72 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2019:0361 · 4 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2025-06-09
  • NVDCVSS 3.17.8read 2026-10-23
  • CNACVSS 3.07.5known since 2026-10-23
  • NVDCVSS 2.04.6read 2026-10-23
  • CNAweakness (CWE)CWE-770known since 2026-10-23
  • NVDweakness (CWE)CWE-770read 2026-10-23
  • FIRST EPSSEPSS score2.9 %2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2019-01-11
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-cwf3-gffj-25fm

Frequently asked questions

What is CVE-2018-16865?

An allocation of memory without limits, that could result in the stack clashing with another memory region, was discovered in systemd-journald when many entries are sent to the journal socket. A local attacker, or a remote one if systemd-journal-remote is used, may use this flaw to crash systemd-journald or execute code with journald privileges. Versions through v240 are vulnerable.

Is CVE-2018-16865 actively exploited?

Active exploitation of CVE-2018-16865 has not been confirmed. Its EPSS score was 2.9% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

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

CVE-2018-16865 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/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 checks · 250 API requests/month

Sources for this record