What’s Vulnerable › Vulnerabilities
CVE-2024-8235: Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-30 · updated 2026-06-17
- Weakness: CWE-476
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
- libvirt: from 10.4.0 before 10.7.0 — fixed in 10.7.0
How to fix
Upgrade to a fixed version: libvirt 10.7.0. Check the vendor advisory for mitigations.
References
- 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/
Get alerted when CVE-2024-8235 or the next vulnerability affects your stack