Description
Double free vulnerability in the qemuAgentGetVCPUs function in qemu/qemu_agent.c in libvirt 1.0.6 through 1.1.0 allows remote attackers to cause a denial of service (daemon crash) via a cpu count request, as demonstrated by the "virsh vcpucount dom --guest" command.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libvirt | 1.1.0-4 | — |
| Debian 13 | libvirt | 1.1.0-4 | — |
| Debian 12 | libvirt | 1.1.0-4 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 2.5.0-1.1 | openSUSE-SU-2024:10209-1 |
Advisories 1
- openSUSE-SU-2024:10209-1 libvirt-2.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://libvirt.org/news.html
- https://bugzilla.redhat.com/show_bug.cgi?id=984821
- http://libvirt.org/git/?p=libvirt.git%3Ba=commitdiff%3Bh=dfc692350a04a70b4ca65667c30869b3bfdaf034
- https://bugzilla.redhat.com/show_bug.cgi?id=986383
- [oss-security] 20130719 Re: CVE request -- libvirt: double free of returned JSON array in qemuAgentGetVCPUs() mailing-list