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

- Severity: Medium 6.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-08-30T16:16:57.214Z
- Modified: 2026-11-24T07:17:10.743Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libvirt: from 10.4.0 before 10.7.0 (not affected: from 0:10.5.0-7.el9_5 before *)
- virt:rhel/libvirt: no versions given
- virt:av/libvirt: no versions given
- redhat libvirt: from 10.4.0 before 10.7.0

## Every score

- redhat: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:9128> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-8235> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2308680> (issue-tracking, vendor-advisory)
- <https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240920-0006/>

## Sources

- CVE List: [CVE-2024-8235](https://www.cve.org/CVERecord?id=CVE-2024-8235), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-8235](https://nvd.nist.gov/vuln/detail/CVE-2024-8235), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-8235 · Whole record: https://cve.day/CVE-2024-8235.json · Rebuilt by cve.day 2026-11-25T22:58:44.904Z
