CVE-2024-8235: Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
Vulnerability summary
CVE-2024-8235 is a medium (CVSS 6.2) NULL Pointer Dereference vulnerability in redhat libvirt. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 22.2% of scored vulnerabilities.
Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-08-2024PublishedVulnerability first disclosed.
- 24-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat60 products
- libvirt≥ 10.4.0, < 10.7.0
- libvirt< 0:10.5.0-7.el9_5
- libvirt-client< 0:10.5.0-7.el9_5
- libvirt-client-debuginfo< 0:10.5.0-7.el9_5
- libvirt-client-qemu< 0:10.5.0-7.el9_5
Alpine1 product
- libvirt≥ 10.4.0, < 10.7.0-r0
Debian1 product
- libvirt< 10.7.0-1
Opensuse1 product
- libvirt&distro=openSUSE Tumbleweed< 10.7.0-1.1
Ubuntu1 product
- libvirt< 6.0.0-0ubuntu8.20 | < 8.0.0-1ubuntu7.10 | < 10.0.0-2ubuntu8.3
5 vendors · 64 products
References
51 links- lists.libvirt.org/archives/list/[email protected]/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ARTICLEREPORTPatchThird Party Advisory