p PatchFirst

PatchFirst · Latest vulnerabilities

libvirt vulnerabilities

Vulnerabilities published for libvirt in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 89

  1. CVE-2026-77159

    Medium · CVSS 5.5EPSS 0.16%Fix available

    Libvirt: unsafe chown in qemutpmemulatorpreparehost() allows arbitrary file ownership change via symlink

    A symlink-following flaw was found in libvirt's qemuTPMEmulatorPrepareHost() function. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links. A local attacker with access to the swtpm account can replace the logfile with a symlink, causing libvirtd (running as root) to transfer ownership of an arbitrary file to the swtpm user.

    • Update to 12.7.0-1
    Published Updated
  2. CVE-2026-18917

    High · CVSS 7.8EPSS 0.18%Fix available

    Libvirt: integer overflow in nodegetfreepages rpc handler leading to heap buffer overflow

    A flaw was found in libvirt. An unprivileged local user could exploit an integer overflow vulnerability in the NodeGetFreePages RPC handler. This flaw allows crafted values to bypass a size check, leading to an undersized memory buffer. Subsequently, real NUMA node data can overwrite this buffer. This heap buffer overflow can corrupt the root libvirt daemon's memory, potentially leading to a denial of service or local privilege escalation.

    • Update to 12.7.0-1
    Published Updated
  3. CVE-2026-63622

    High · CVSS 7.8EPSS 0.14%Fix available

    Libvirt: swtpm privilege escalation via symlink following

    A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerability in the `virFileChownFiles()` function. By planting a symbolic link within the `swtpm` state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the `swtpm` user. This allows for privilege escalation from the `swtpm` sandbox to root-level file ownership control.

    • Update to 12.6.0-1
    Published Updated
  4. CVE-2026-63623

    Medium · CVSS 5.5EPSS 0.1%Fix available

    Libvirt: information disclosure via world-readable storage volume images during clone/convert

    A flaw was found in libvirt. During storage volume clone or convert operations, newly created volume images were temporarily world-readable. This was caused by the `qemu-img` utility running with overly permissive file creation settings, allowing any local user to read the full guest disk contents. This vulnerability could lead to sensitive information disclosure from guest virtual machines.

    • Update to 12.6.0-1
    Published Updated
  5. CVE-2026-61477

    Low · CVSS 2.3EPSS 0.16%Fix available

    Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection

    An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These values are written verbatim into the dnsmasq configuration file generated by the network driver, allowing a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, leading to arbitrary command execution as root.

    • Update to 12.6.0-1
    Published Updated
  6. CVE-2025-13193

    Medium · CVSS 5.5EPSS 0.13%Fix available

    Libvirt: information disclosure via world-readable vm snapshots

    A flaw was found in libvirt. External inactive snapshots for shut-down VMs are incorrectly created as world-readable, making it possible for unprivileged users to inspect the guest OS contents. This results in an information disclosure vulnerability.

    • Update to 11.10.0-1
    Published Updated
  7. CVE-2025-12748

    Medium · CVSS 5.5EPSS 0.22%Fix available

    Libvirt: denial of service in xml parsing

    A flaw was discovered in libvirt in the XML file processing. More specifically, the parsing of user provided XML files was performed before the ACL checks. A malicious user with limited permissions could exploit this flaw by submitting a specially crafted XML file, causing libvirt to allocate too much memory on the host. The excessive memory consumption could lead to a libvirt process crash on the host, resulting in a denial-of-service condition.

    • Update to 11.10.0-1
    Published Updated
  8. CVE-2024-8235

    Medium · CVSS 6.2EPSS 0.24%Fix available

    Libvirt: crash of virtinterfaced via virconnectlistinterfaces()

    A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

    • Update to 10.7.0-1
    Published Updated
  9. CVE-2024-4418

    Medium · CVSS 6.2EPSS 0.49%Fix available

    Libvirt: stack use-after-free in virnetclientioeventloop()

    A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd

    • Update to 10.3.0-1
    Published Updated
  10. CVE-2024-2494

    Medium · CVSS 6.2EPSS 0.37%Fix available

    Libvirt: negative g_new0 length can lead to unbounded memory allocation

    A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.

    • Update to 10.2.0-1
    Published Updated
  11. CVE-2024-2496

    Medium · CVSS 5EPSS 0.25%Fix available

    Libvirt: null pointer dereference in udevconnectlistallinterfaces()

    A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt. This issue can occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API. This flaw could be used to perform a denial of service attack by causing the libvirt daemon to crash.

    • Update to 9.8.0-1
    Published Updated
  12. CVE-2024-1441

    Medium · CVSS 5.5EPSS 0.4%Fix available

    Libvirt: off-by-one error in udevlistinterfacesbystatus()

    An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash.

    • Update to 10.1.0-1
    Published Updated
  13. CVE-2023-3750

    Medium · CVSS 6.5EPSS 0.76%Fix available

    Libvirt: improper locking in virstoragepoolobjlistsearch may lead to denial of service

    A flaw was found in libvirt. The virStoragePoolObjListSearch function does not return a locked pool as expected, resulting in a race condition and denial of service when attempting to lock the same object from another thread. This issue could allow clients connecting to the read-only socket to crash the libvirt daemon.

    • Update to 9.6.0-1
    Published Updated
  14. CVE-2021-3975

    Medium · CVSS 6.5EPSS 1.64%Fix available

    CVE-2021-3975

    A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

    • Update to 7.6.0-1
    Published Updated
  15. CVE-2022-0897

    Medium · CVSS 4.3EPSS 1.05%Fix available

    CVE-2022-0897

    A flaw was found in the libvirt nwfilter driver. The virNWFilterObjListNumOfNWFilters method failed to acquire the driver->nwfilters mutex before iterating over virNWFilterObj instances. There was no protection to stop another thread from concurrently modifying the driver->nwfilters object. This flaw allows a malicious, unprivileged user to exploit this issue via libvirt's API virConnectNumOfNWFilters to crash the network filter management daemon (libvirtd/virtnwfilterd).

    • Update to 8.2.0-1
    Published Updated
  16. CVE-2021-3667

    Medium · CVSS 6.5EPSS 1.37%Fix available

    CVE-2021-3667

    An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt. It occurs in the storagePoolLookupByTargetPath function where a locked virStoragePoolObj object is not properly released on ACL permission failure. Clients connecting to the read-write socket with limited ACL permissions could use this flaw to acquire the lock and prevent other users from accessing storage pool/volume APIs, resulting in a denial of service condition. The highest threat from this vulnerability is to system availability.

    • Update to 7.6.0-1
    Published Updated
  17. CVE-2021-3631

    Medium · CVSS 6.3EPSS 0.49%Fix available

    CVE-2021-3631

    A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.

    • Update to 7.6.0-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →