CVE-2018-16865 Memory corruption in systemd
A local or remote attacker can crash systemd-journald or execute code with journald privileges due to unbounded memory allocation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16865?
CVE-2018-16865 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 11 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-770
Which versions are affected by CVE-2018-16865?
It affects 11 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Oracle Communications Session Border Controller, Oracle Enterprise Communications Broker, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 5 more.
How do I fix CVE-2018-16865?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-16865 being exploited?
There is no known exploitation of CVE-2018-16865 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-16865, GHSA-cwf3-gffj-25fm, UBUNTU-CVE-2018-16865.