CVE-2018-6764: High severity redhat libvirt vulnerability

Published Feb 2, 2018
·
Updated

Last updated 25 August 2025

Other sources

libvirtlxc resolves a host name after the guest filesystem is mounted but before the init from it is executed. That in turn causes glibc to load libnssdns.so and it ends up being loaded from the guest tree, making it possible for the guest to inject executable code before the host filesystem is umounted and file handles closed. That has potential security implications.

Red Hat

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.

Launchpad

Affected Software

11 affected componentsFixes available
redhat libvirt
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat Virtualization=4.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/libvirt
7.0.0-3+deb11u39.0.0-4+deb12u211.3.0-3+deb13u212.0.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 7.0.0-3+deb11u3Fixed in 9.0.0-4+deb12u2Fixed in 11.3.0-3+deb13u2Fixed in 12.0.0-1

Event History

Feb 2, 2018
Data Sourced
via Red Hat·03:13 PM
DescriptionSeverityAffected Software
Feb 23, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:09 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·05:38 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:38 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-6764?

CVE-2018-6764 is a vulnerability in libvirt that allows local guest OS users to bypass container protection and execute arbitrary commands.

2

How do I know if I am affected by CVE-2018-6764?

If you are using libvirt version 5.0.0-4+deb10u1, 7.0.0-3+deb11u2, 9.0.0-4, 9.8.0-2, 1.3.1-1ubuntu10.19, 3.6.0-1ubuntu6.3, or older, you may be affected by CVE-2018-6764.

3

What is the severity of CVE-2018-6764?

CVE-2018-6764 has a severity rating of 7.8 (High).

4

How can I fix CVE-2018-6764?

To fix CVE-2018-6764, update libvirt to version 5.0.0-4+deb10u1, 7.0.0-3+deb11u2, 9.0.0-4, 9.8.0-2, 1.3.1-1ubuntu10.19, 3.6.0-1ubuntu6.3, or a newer version.

5

Are there any references available for CVE-2018-6764?

Yes, you can find references for CVE-2018-6764 at the following URLs: https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1542815, https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1542814, https://access.redhat.com/security/cve/CVE-2018-6764

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203