# CVE-2018-16865: libnss-myhostname: An allocation of memory without limits, that could result in the stack clashing with another memory region, was disco...

CVE-2018-16865 is fixed in 14 products on 1 platform, first by libnss-myhostname 237-3ubuntu10.11, released January 10, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2018-16865
- Priority: High
- CVSS: n/a (High)
- EPSS: 0.0302
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 10, 2019

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libnss-myhostname Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libnss-myhostname 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-myhostname-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libnss-mymachines Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libnss-mymachines 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-mymachines-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libnss-resolve Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libnss-resolve 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-resolve-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libnss-systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libnss-systemd 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-systemd-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libpam-systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libpam-systemd 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpam-systemd-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libsystemd0 Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libsystemd0 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsystemd0-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | libudev1 Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [libudev1 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libudev1-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd-container Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd-container 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-container-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd-coredump Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd-coredump 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-coredump-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd-journal-remote Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd-journal-remote 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-journal-remote-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd-sysv Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd-sysv 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-sysv-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | systemd-tests Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [systemd-tests 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-tests-237-3ubuntu10.11.md) | Jan 10, 2019 |
| Linux | udev Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.11 | [udev 237-3ubuntu10.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-udev-237-3ubuntu10.11.md) | Jan 10, 2019 |

---

Data as of 2026-11-07T06:34:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
