# CVE-2024-8235: Libvirt: crash of virtinterfaced via virconnectlistinterfaces()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-30 · Modified: 2026-11-24
- Aliases: RHSA-2024:9128, UBUNTU-CVE-2024-8235, DEBIAN-CVE-2024-8235, openSUSE-SU-2024:14315-1, ALPINE-CVE-2024-8235
- Record: https://cvemate.com/vulnerability/CVE-2024-8235 · JSON: https://cvemate.com/vulnerability/CVE-2024-8235/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.283%, percentile 22.266%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 64)

- alpine libvirt (Alpine Linux): ≥ 10.4.0, \< 10.7.0-r0
- debian libvirt (Debian): \< 10.7.0-1
- ubuntu libvirt (Ubuntu): \< 6.0.0-0ubuntu8.20 \| \< 8.0.0-1ubuntu7.10 \| \< 10.0.0-2ubuntu8.3
- redhat libvirt: ≥ 10.4.0, \< 10.7.0
- opensuse libvirt&distro=openSUSE Tumbleweed (openSUSE): \< 10.7.0-1.1
- redhat libvirt (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-client (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-client-debuginfo (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-client-qemu (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-common (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-common-debuginfo (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-config-network (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-config-nwfilter (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-debuginfo (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-driver-interface (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-driver-interface-debuginfo (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-driver-network (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-driver-network-debuginfo (Red Hat): \< 0:10.5.0-7.el9\_5
- redhat libvirt-daemon-driver-nodedev (Red Hat): \< 0:10.5.0-7.el9\_5

## References (first 20 of 51)

- <https://access.redhat.com/errata/RHSA-2024:9128>
- <https://access.redhat.com/security/cve/CVE-2024-8235>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2308680>
- <https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/>
- <https://security.netapp.com/advisory/ntap-20240920-0006/>
- <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://issues.redhat.com/browse/RHEL-16333>
- <https://issues.redhat.com/browse/RHEL-22728>
- <https://issues.redhat.com/browse/RHEL-23416>
- <https://issues.redhat.com/browse/RHEL-23608>
- <https://issues.redhat.com/browse/RHEL-23833>
- <https://issues.redhat.com/browse/RHEL-25993>
- <https://issues.redhat.com/browse/RHEL-26276>
- <https://issues.redhat.com/browse/RHEL-29642>
- <https://issues.redhat.com/browse/RHEL-30373>
- <https://issues.redhat.com/browse/RHEL-30622>
- <https://issues.redhat.com/browse/RHEL-32182>
- <https://issues.redhat.com/browse/RHEL-32880>
- <https://issues.redhat.com/browse/RHEL-33044>

---

Data as of 2026-12-05T03:16:37.948Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
