Description
A vulnerability was found in libvirt. This security flaw ouccers due to repeatedly querying an SR-IOV PCI device's capabilities that exposes a memory leak caused by a failure to free the virPCIVirtualFunction array within the parent struct's g_autoptr cleanup.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvirt | libvirt-4.5.0 | — |
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 | 9.0.0-4 | — |
| Debian 13 | libvirt | 9.0.0-4 | — |
| Debian 12 | libvirt | 9.0.0-4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libvirt | 8.0.0-1ubuntu7.5 | USN-6126-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libvirt +25 | 9.0.0-10.2.el9_2 | RHSA-2023:3715 |
| RHEL 8 | SLOF | 20210217-1.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | hivex +6 | 1.3.18-23.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | libguestfs-winsupport | 8.8-1.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | libnbd +6 | 1.6.0-5.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | libtpms +1 | 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+18453+1482ba89 | RHSA-2023:3822 |
| RHEL 8 | libvirt +27 | 8.0.0-19.2.module+el8.8.0+18944+7f5acf75 | RHSA-2023:3822 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | libvirt-python +1 | 8.0.0-2.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | nbdkit +18 | 1.24.0-5.module+el8.8.0+17308+05924798 | RHSA-2023:3822 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | perl-Sys-Virt | 8.0.0-1.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | qemu-img +14 | 15:6.2.0-32.module+el8.8.0+18361+9f407f6e | RHSA-2023:3822 |
| RHEL 8 | seabios +2 | 1.16.0-3.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | supermin +1 | 5.2.1-2.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | virt-dib +24 | 1:1.44.0-9.module+el8.8.0+16781+9f4724c2 | RHSA-2023:3822 |
| RHEL 8 | virt-v2v +3 | 1:1.42.0-22.module+el8.8.0+19067+b66cdac6 | RHSA-2023:3822 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | SLOF | 20210217-1.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | hivex +6 | 1.3.18-23.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | libguestfs-winsupport | 8.6-1.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | libiscsi +2 | 1.18.0-8.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | libnbd +6 | 1.6.0-5.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | libtpms +1 | 0.9.1-1.20211126git1ff6fe1f43.module+el8.6.0+18455+e5d5ac9d | RHSA-2023:4799 |
| RHEL 8.6 EUS | libvirt +27 | 8.0.0-5.10.module+el8.6.0+18949+ba4ca8a3 | RHSA-2023:4799 |
| RHEL 8.6 EUS | libvirt-dbus | 1.3.0-2.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | libvirt-python +1 | 8.0.0-1.1.module+el8.6.0+16381+3abc475c | RHSA-2023:4799 |
| RHEL 8.6 EUS | nbdkit +18 | 1.24.0-4.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | netcf +2 | 0.2.8-12.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | perl-Sys-Virt | 8.0.0-1.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | qemu-img +14 | 15:6.2.0-11.module+el8.6.0+18167+43cf40f3.8 | RHSA-2023:4799 |
| RHEL 8.6 EUS | seabios +2 | 1.15.0-2.module+el8.6.0+19580+39804e41.1 | RHSA-2023:4799 |
| RHEL 8.6 EUS | sgabios +1 | 1:0.20170427git-3.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | supermin +1 | 5.2.1-1.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | swtpm +4 | 0.7.0-3.20211109gitb79fd91.module+el8.6.0+16156+d5629340 | RHSA-2023:4799 |
| RHEL 8.6 EUS | virt-dib +24 | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | RHSA-2023:4799 |
| RHEL 8.6 EUS | virt-v2v +3 | 1:1.42.0-19.module+el8.6.0+15577+2ffd6ffa | RHSA-2023:4799 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libvirt +25 | 9.0.0-10.2.el9_2 | ALSA-2023:3715 |
| AlmaLinux 8 | SLOF | 20210217-1.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | hivex +6 | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | libguestfs-winsupport | 8.8-1.module_el8.8.0+3485+7cffc4a3 | ALSA-2023:3822 |
| AlmaLinux 8 | libiscsi +2 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | libnbd +6 | 1.6.0-5.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | libtpms +1 | 0.9.1-2.20211126git1ff6fe1f43.module_el8.8.0+3553+bd08596b | ALSA-2023:3822 |
| AlmaLinux 8 | libvirt +27 | 8.0.0-19.2.module_el8.8.0+3585+76b9c397.alma | ALSA-2023:3822 |
| AlmaLinux 8 | libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | nbdkit +18 | 1.24.0-5.module_el8.8.0+3485+7cffc4a3 | ALSA-2023:3822 |
| AlmaLinux 8 | netcf +2 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | perl-Sys-Virt | 8.0.0-1.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | python3-libvirt | 8.0.0-2.module_el8.7.0+3346+68867adb | ALSA-2023:3822 |
| AlmaLinux 8 | qemu-img +14 | 15:6.2.0-32.module_el8.8.0+3553+bd08596b | ALSA-2023:3822 |
| AlmaLinux 8 | seabios +2 | 1.16.0-3.module_el8.7.0+3346+68867adb | ALSA-2023:3822 |
| AlmaLinux 8 | sgabios +1 | 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 | ALSA-2023:3822 |
| AlmaLinux 8 | supermin +1 | 5.2.1-2.module_el8.7.0+3346+68867adb | ALSA-2023:3822 |
| AlmaLinux 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb | ALSA-2023:3822 |
| AlmaLinux 8 | virt-dib +24 | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2023:3822 |
| AlmaLinux 8 | virt-v2v +3 | 1:1.42.0-22.module_el8.8.0+3553+bd08596b | ALSA-2023:3822 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libvirt | 9.0.0-10.2.el9_2 | RLSA-2023:3715 |
| Rocky Linux 8 | hivex | 1.3.18-23.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libguestfs | 1:1.44.0-9.module+el8.8.0+1279+230c2115.rocky | RLSA-2023:3822 |
| Rocky Linux 8 | libguestfs-winsupport | 8.8-1.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libnbd | 1.6.0-5.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libtpms | 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libvirt | 8.0.0-19.2.module+el8.8.0+1321+70d049b2 | RLSA-2023:3822 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | libvirt-python | 8.0.0-2.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | nbdkit | 1.24.0-5.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | perl-Sys-Virt | 8.0.0-1.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | qemu-kvm | 5:6.2.0-32.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | seabios | 1.16.0-3.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | supermin | 5.2.1-2.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | swtpm | 0.7.0-4.20211109gitb79fd91.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
| Rocky Linux 8 | virt-v2v | 1:1.42.0-22.module+el8.8.0+1279+230c2115 | RLSA-2023:3822 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | libvirt | 9.0.0-150500.6.3.1 | SUSE-SU-2023:2652-1 |
| SLES 15 SP4 | libvirt | 8.0.0-150400.7.6.1 | SUSE-SU-2023:2356-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.4 | libvirt | 8.0.0-150400.7.6.1 | SUSE-SU-2023:2356-1 |
| SLE Micro 5.3 | libvirt | 8.0.0-150400.7.6.1 | SUSE-SU-2023:2356-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 10.9.0-3.1 | openSUSE-SU-2024:14490-1 |
| openSUSE Leap 15.5 | libvirt | 9.0.0-150500.6.3.1 | SUSE-SU-2023:2652-1 |
| openSUSE Leap 15.4 | libvirt | 8.0.0-150400.7.6.1 | SUSE-SU-2023:2356-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | libvirt | 8.0.0-150400.7.6.1 | SUSE-SU-2023:2356-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libvirt | 7.10.0-5 | — |
| Azure Linux 2 (CBL-Mariner) | libvirt | 7.10.0-5 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libvirt +25 | 9.0.0-10.2.0.1.el9_2 | ELSA-2023-3715 |
| Oracle Linux 8 | hivex +4 | 1.3.18-21.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libguestfs-appliance | 1:1.44.0-5.0.1.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.8.0+20990+60c1530a | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libnbd +3 | 1.2.2-1.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | libvirt +29 | 5.7.0-42.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libvirt-client-qemu | 9.0.0-3.module+el8.8.0+21147+1292344f | ELSA-2023-12855 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.8.0+20990+60c1530a | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | libvirt-wireshark | 7.10.0-3.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | nbdkit +13 | 1.16.2-4.0.1.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | nbdkit-nbd-plugin +4 | 1.24.0-4.module+el8.8.0+21147+1292344f | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.8.0+20990+60c1530a | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | ocaml-hivex +1 | 1.3.18-23.module+el8.8.0+20990+60c1530a | ELSA-2023-3822 |
| Oracle Linux 8 | ocaml-libguestfs +1 | 1:1.44.0-9.0.1.module+el8.8.0+20990+60c1530a | ELSA-2023-3822 |
| Oracle Linux 8 | ocaml-libnbd +2 | 1.6.0-5.module+el8.8.0+20990+60c1530a | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | perl-Sys-Virt | 4.5.0-5.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | qemu-img +9 | 15:4.2.1-34.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | qemu-kvm-docs +4 | 15:6.2.0-32.module+el8.8.0+21044+01700444 | ELSA-2023-3822 |
| Oracle Linux 8 | qemu-virtiofsd | 15:6.1.1-8.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | seabios +2 | 1.15.0-2.module+el8.8.0+21161+70fb2747 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.8.0+20990+60c1530a | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | supermin +1 | 5.1.19-10.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-3.20211109gitb79fd91.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
| Oracle Linux 8 | virt-dib +23 | 1:1.40.2-28.0.4.module+el8.9.0+90333+3bd482f4 | ELSA-2024-12435, ELSA-2023-12924, ELSA-2023-12855 |
| Oracle Linux 8 | virt-v2v-man-pages-ja +2 | 1:1.42.0-19.0.1.module+el8.8.0+21161+70fb2747 | ELSA-2023-12924, ELSA-2023-12855, ELSA-2023-3822 |
Advisories 18
- ALSA-2023:3715 Moderate: libvirt security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:3822 Moderate: virt:rhel and virt-devel:rhel security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:4799 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2023:3822 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2023:3715 Red Hat Security Advisory: libvirt security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-6126-1 libvirt vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- ELSA-2023-3822 Moderate: virt:ol and virt-devel:ol security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 16, 2026
- RLSA-2023:3715 Moderate: libvirt security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:3822 Moderate: virt:rhel and virt-devel:rhel security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:2356-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14490-1 libvirt-10.9.0-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2652-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1209 libvirt: Schwachstelle ermöglicht Denial of Service oder Offenlegung von Informationen BSI CERT-Bund (WID) · Dec 10, 2024
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
- ELSA-2024-12435 Moderate: virt:kvm_utils1 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 13, 2024
- ELSA-2023-12924 Important: kvm_utils2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 19, 2023
- ELSA-2023-12855 Important: kvm_utils3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 7, 2023
- ELSA-2023-3715 Moderate: libvirt security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 22, 2023
References
- https://access.redhat.com/security/cve/CVE-2023-2700
- https://bugzilla.redhat.com/show_bug.cgi?id=2203653
- https://gitlab.com/libvirt/libvirt/-/commit/6425a311b8ad19d6f9c0b315bf1d722551ea3585#874a1e768ade6ceb4538931cbc06248e73223306
- https://security.netapp.com/advisory/ntap-20230706-0001/
- FEDORA-2024-2d35e47af3 vendor-advisory