CVEfocus › CVE database › CVE-2018-16864

CVE-2018-16864

CVSS 7.4 HighEPSS 0.7% (higher than 54% of CVEs)Published 2019-01-11Updated 2025-06-09Assigner: redhat

An allocation of memory without limits, that could result in the stack clashing with another memory region, was discovered in systemd-journald when a program with long command line arguments calls syslog. A local attacker may use this flaw to crash systemd-journald or escalate his privileges. Versions through v240 are vulnerable.

CWE-770

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04systemdFixed237-3ubuntu10.11UBUNTU-CVE-2018-16864
Ubuntu 16.04systemdFixed229-4ubuntu21.15UBUNTU-CVE-2018-16864
Debian 14systemdFixed240-4DEBIAN-CVE-2018-16864
Debian 13systemdFixed240-4DEBIAN-CVE-2018-16864
Debian 12systemdFixed240-4DEBIAN-CVE-2018-16864
Red Hat Enterprise Linux 8systemdNot affected
Red Hat Enterprise Linux 8systemd-containerNot affected
Red Hat Enterprise Linux 8systemd-develNot affected
Red Hat Enterprise Linux 8systemd-journal-remoteNot affected
Red Hat Enterprise Linux 8systemd-libsNot affected
Red Hat Enterprise Linux 8systemd-pamNot affected
Red Hat Enterprise Linux 8systemd-testsNot affected
Red Hat Enterprise Linux 8systemd-udevNot affected
Red Hat Enterprise Linux 7libgudev1Fixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7libgudev1-develFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7redhat-release-virtualization-hostFixed0:4.2-8.1.el7RHSA-2019:0342
Red Hat Enterprise Linux 7redhat-virtualization-hostFixed0:4.2-20190129.0.el7_6RHSA-2019:0342
Red Hat Enterprise Linux 7redhat-virtualization-host-image-updateFixed0:4.2-20190129.0.el7_6RHSA-2019:0342
Red Hat Enterprise Linux 7redhat-virtualization-host-image-update-placeholderFixed0:4.2-8.1.el7RHSA-2019:0342
Red Hat Enterprise Linux 7rhvm-applianceFixed2:4.2-20190129.0.el7RHSA-2019:0361
Red Hat Enterprise Linux 7systemdFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-develFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-journal-gatewayFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-libsFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-networkdFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-pythonFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-resolvedFixed0:219-62.el7_6.2RHSA-2019:0049
Red Hat Enterprise Linux 7systemd-sysvFixed0:219-62.el7_6.2RHSA-2019:0049

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.