CVE-2024-8235

MEDIUM CVSS 3.1: 6.2 EPSS 0.24%
Updated Nov 24, 2026
Red Hat
Parameter Value
CVSS 6.2 (MEDIUM)
Affected Versions 10.4.0 — 10.7.0
Fixed In 10.7.0
Type CWE-476 (NULL Pointer Dereference)
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Redhat Libvirt
cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*
10.4.0 10.7.0
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —