CVE-2024-8235

Libvirt: crash of virtinterfaced via virconnectlistinterfaces()

State
Published
Severity
6.2 Medium
Published
Aug 30, 2024
Updated
Nov 8, 2025
Reserved
Aug 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

ProductVersions
libvirt
  • 10.4.0 to before 10.7.0Affected
Red Hat Enterprise Linux 9Red Hat
  • 0:10.5.0-7.el9_5 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 8 Advanced VirtualizationRed Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.