CVE-2024-8235 MEDIUM

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

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Weakness CWE-476
Published August 30, 2024
Last update November 8, 2025

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 30, 2024 CVE published
November 8, 2025 Record updated