Description
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 without authenticating. Remote users would need to authenticate before they could access it.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvirt | < 10.4.0 | 10.4.0 |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | — | — |
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 | 10.3.0-1 | — |
| Debian 13 | libvirt | 10.3.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | libvirt | 10.0.0-2ubuntu8.2 | USN-6763-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libvirt +30 | 10.0.0-6.6.el9_4 | RHSA-2024:4757 |
| RHEL 8 | SLOF | 20210217-2.module+el8.10.0+20141+6faa2812 | RHSA-2024:4351 |
| RHEL 8 | hivex +6 | 1.3.18-23.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | libguestfs-winsupport | 8.10-1.module+el8.10.0+19908+9938c7c9 | RHSA-2024:4351 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | libnbd +6 | 1.6.0-5.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | libtpms +1 | 0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | libvirt +27 | 8.0.0-23.2.module+el8.10.0+21972+d7867348 | RHSA-2024:4351 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | libvirt-python +1 | 8.0.0-2.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | nbdkit +18 | 1.24.0-5.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | perl-Sys-Virt | 8.0.0-1.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | qemu-img +14 | 15:6.2.0-49.module+el8.10.0+21533+3df3c4b6 | RHSA-2024:4351 |
| RHEL 8 | seabios +2 | 1.16.0-4.module+el8.9.0+19570+14a90618 | RHSA-2024:4351 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | supermin +1 | 5.2.1-2.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | virt-dib +24 | 1:1.44.0-9.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
| RHEL 8 | virt-v2v +3 | 1:1.42.0-22.module+el8.9.0+18724+20190c23 | RHSA-2024:4351 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.2 EUS | libvirt +25 | 9.0.0-10.7.el9_2 | RHSA-2024:4432 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libvirt +30 | 10.0.0-6.6.el9_4.alma.1 | ALSA-2024:4757 |
| AlmaLinux 8 | SLOF | 20210217-2.module_el8.10.0+3768+dfd76e10 | ALSA-2024:4351 |
| AlmaLinux 8 | hivex +6 | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | libguestfs-winsupport | 8.10-1.module_el8.10.0+3768+dfd76e10 | ALSA-2024:4351 |
| AlmaLinux 8 | libiscsi +2 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | libnbd +6 | 1.6.0-5.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | libtpms +1 | 0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3 | ALSA-2024:4351 |
| AlmaLinux 8 | libvirt +27 | 8.0.0-23.2.module_el8.10.0+3867+f3f9981a | ALSA-2024:4351 |
| AlmaLinux 8 | libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | nbdkit +18 | 1.24.0-5.module_el8.8.0+3485+7cffc4a3 | ALSA-2024:4351 |
| AlmaLinux 8 | netcf +2 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | perl-Sys-Virt | 8.0.0-1.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | python3-libvirt | 8.0.0-2.module_el8.7.0+3346+68867adb | ALSA-2024:4351 |
| AlmaLinux 8 | qemu-img +14 | 15:6.2.0-49.module_el8.10.0+3839+c94ce74b | ALSA-2024:4351 |
| AlmaLinux 8 | seabios +2 | 1.16.0-4.module_el8.9.0+3659+9c8643f3 | ALSA-2024:4351 |
| AlmaLinux 8 | sgabios +1 | 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 | ALSA-2024:4351 |
| AlmaLinux 8 | supermin +1 | 5.2.1-2.module_el8.7.0+3346+68867adb | ALSA-2024:4351 |
| AlmaLinux 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb | ALSA-2024:4351 |
| AlmaLinux 8 | virt-dib +24 | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2024:4351 |
| AlmaLinux 8 | virt-v2v +3 | 1:1.42.0-22.module_el8.9.0+3659+9c8643f3 | ALSA-2024:4351 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | hivex | 1.3.18-23.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | libguestfs | 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky | RLSA-2024:4351 |
| Rocky Linux 8 | libguestfs-winsupport | 8.10-1.module+el8.10.0+1451+358d0d76 | RLSA-2024:4351 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | libnbd | 1.6.0-5.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | libtpms | 0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | libvirt | 8.0.0-23.2.module+el8.10.0+1835+43f01cbb | RLSA-2024:4351 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | libvirt-python | 8.0.0-2.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | nbdkit | 1.24.0-5.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | perl-Sys-Virt | 8.0.0-1.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | qemu-kvm | 5:6.2.0-49.module+el8.10.0+1752+38c6b60a | RLSA-2024:4351 |
| Rocky Linux 8 | seabios | 1.16.0-4.module+el8.9.0+1408+7b966129 | RLSA-2024:4351 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | supermin | 5.2.1-2.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | swtpm | 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
| Rocky Linux 8 | virt-v2v | 1:1.42.0-22.module+el8.10.0+1590+a67ab969 | RLSA-2024:4351 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | libvirt | 10.0.0-150600.8.3.1 | SUSE-SU-2024:1962-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.0 | libvirt | 10.0.0-3.1 | SUSE-SU-2025:20012-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 10.3.0-2.1 | openSUSE-SU-2024:13948-1 |
| openSUSE Leap 15.6 | libvirt | 10.0.0-150600.8.3.1 | SUSE-SU-2024:1962-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libvirt | 10.0.0-5 | — |
| Azure Linux 2 (CBL-Mariner) | libvirt | 7.10.0-10 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libvirt +30 | 10.0.0-6.6.0.1.el9_4 | ELSA-2024-12673, ELSA-2024-4757 |
| Oracle Linux 9 | python3-libvirt +2 | 30:9.0.0-6.el9 | ELSA-2024-12673 |
| Oracle Linux 8 | hivex +6 | 1.3.18-23.module+el8.9.0+90075+85334608 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libguestfs-winsupport | 8.6-1.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libnbd +6 | 1.6.0-5.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libvirt +28 | 7.10.0-4.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | libvirt-client-qemu | 9.0.0-6.module+el8.10.0+90377+6a12a345 | ELSA-2024-12604 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | nbdkit +18 | 1.24.0-4.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | ocaml-libguestfs +1 | 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-4351 |
| Oracle Linux 8 | perl-Sys-Virt | 6.0.0-1.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | qemu-img +10 | 15:6.1.1-9.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | qemu-kvm-docs +4 | 15:6.2.0-49.module+el8.10.0+90330+d0258130 | ELSA-2024-4351 |
| Oracle Linux 8 | seabios +2 | 1.15.0-2.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.9.0+90052+d3bf71d8 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | supermin +1 | 5.2.1-1.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-3.20211109gitb79fd91.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | virt-dib +22 | 1:1.44.0-5.0.1.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
| Oracle Linux 8 | virt-v2v +3 | 1:1.42.0-19.0.1.module+el8.10.0+90374+95a91213 | ELSA-2024-12605, ELSA-2024-12604, ELSA-2024-4351 |
Advisories 16
- ALSA-2024:4757 Moderate: libvirt security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:4351 Low: virt:rhel and virt-devel:rhel security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:4757 Red Hat Security Advisory: libvirt security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2024:4432 Red Hat Security Advisory: libvirt security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2024:4351 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-6763-1 libvirt vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2025:20012-1 Security update for libvirt SUSE / openSUSE Security Updates · Mar 23, 2026
- RLSA-2024:4351 Low: virt:rhel and virt-devel:rhel security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:13948-1 libvirt-10.3.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1962-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1017 Red Hat Enterprise Linux (libvirt): Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 4, 2025
- ELSA-2024-12673 Important: libvirt security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 19, 2024
- ELSA-2024-12605 Important: virt:kvm_utils2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 2, 2024
- ELSA-2024-12604 Important: virt:kvm_utils3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 2, 2024
- ELSA-2024-4757 Moderate: libvirt security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 23, 2024
- ELSA-2024-4351 Moderate: virt:ol and virt-devel:ol security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 10, 2024
References
- RHSA-2024:4351 vendor-advisory
- RHSA-2024:4432 vendor-advisory
- RHSA-2024:4757 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-4418 vdb-entry
- RHBZ#2278616 issue-tracking