CVE-2024-8235: Red Hat Libvirt

Medium severity, CVSS 6.2. EPSS: 0.2% chance of exploitation in the next 30 days.

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

  • Red Hat Libvirt: from 10.4.0, before 10.7.0 (fixed in 10.7.0)

Published 2024-08-30. Last modified 2026-06-17.