CVE-2018-6764: Canonical Ubuntu Linux

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

util/virlog.c in libvirt does not properly determine the hostname on LXC container startup, which allows local guest OS users to bypass an intended container protection mechanism and execute arbitrary commands via a crafted NSS module.

Affected products

  • Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 17.10 only
  • Debian Debian Linux: version 8.0 only; version 9.0 only
  • Red Hat Enterprise Linux Desktop: version 7.0 only
  • Red Hat Enterprise Linux Server: version 7.0 only
  • Red Hat Enterprise Linux Workstation: version 7.0 only
  • Red Hat Libvirt: affected versions not specified
  • Red Hat Virtualization: version 4.0 only

Published 2018-02-23. Last modified 2026-06-17.