Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvirt | 10.4.0 – < 10.7.0 | 10.7.0 |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| 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.7.0-1 | — |
| Debian 13 | libvirt | 10.7.0-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libvirt +31 | 10.5.0-7.el9_5 | RHSA-2024:9128 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libvirt +31 | 10.5.0-7.el9_5.alma.1 | ALSA-2024:9128 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libvirt | 10.5.0-7.4.el9_5 | RLSA-2024:9128 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 10.7.0-1.1 | openSUSE-SU-2024:14315-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libvirt | 10.7.0-r0 | — |
| Alpine v3.23 | libvirt | 10.7.0-r0 | — |
| Alpine v3.22 | libvirt | 10.7.0-r0 | — |
| Alpine v3.21 | libvirt | 10.7.0-r0 | — |
| Alpine v3.20 | libvirt | 10.7.0-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libvirt +31 | 10.5.0-7.0.1.el9_5 | ELSA-2024-9128 |
Advisories 6
- ALSA-2024:9128 Moderate: libvirt security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:9128 Red Hat Security Advisory: libvirt security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RLSA-2024:9128 Moderate: libvirt security update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:14315-1 libvirt-10.7.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2024-9128 Moderate: libvirt security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 14, 2024
- WID-SEC-2024-3406 libvirt: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Nov 11, 2024