Critical Security Update for libvirt: Addressing Privilege Escalation and Buffer Overflow Vulnerabilities
Summary
ALSA-2026:74424: Important: libvirt security, bug fix, and enhancement update. Affects libvirt versions < 11.10.0-12.7.el9_8.alma.1. Fixed in 11.10.0-12.7.el9_8.alma.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
libvirt is a powerful library that provides a C API for managing and interacting with the virtualization capabilities of Linux and other operating systems. It facilitates remote management of virtualized systems, making it a critical component for cloud and virtualization environments. Given its extensive use, vulnerabilities in libvirt can have significant implications for system security and stability.
Vulnerability Detail
The libvirt library has been found to contain two critical vulnerabilities. The first is a privilege escalation vulnerability (CVE-2026-63622) that arises from improper handling of symlinks, allowing unauthorized users to gain elevated privileges. The second vulnerability (CVE-2026-18917) is an integer overflow in the NodeGetFreePages RPC handler, which can lead to a heap buffer overflow, potentially allowing an attacker to execute arbitrary code. These vulnerabilities can compromise the integrity and confidentiality of virtualized environments.
How To Fix
Minimum fixed version
11.10.0-12.7.el9_8.alma.1
This is the first release that contains the fix.
sudo dnf update libvirt
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can restrict access to the libvirt service and ensure that only trusted users have permissions to interact with the virtualization management tools until the update can be applied.
Conclusion
The vulnerabilities in libvirt pose significant risks to virtualization environments, making it crucial for users to apply the recommended updates promptly. By staying informed and utilizing tools like Vulert, users can better manage and mitigate potential security threats.
See every vulnerability recorded for libvirt →
FAQ
libvirt is an open-source API, daemon, and management tool for managing platform virtualization. It provides a consistent interface for managing different virtualization technologies.
The vulnerabilities can lead to privilege escalation and arbitrary code execution, which can compromise the security of virtual machines and the host system.
You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can receive real-time alerts about vulnerabilities.
Yes, restricting access to the libvirt service and ensuring that only trusted users can interact with it can help mitigate risks until a patch is applied.
Detailed information about the vulnerabilities can be found on the CVE pages: CVE-2026-18917 and CVE-2026-63622.
Related vulnerabilities
Recent vulnerabilities recorded for libvirt.