CVE-2024-8235: redhat libvirt NULL Pointer Dereference
Vulnerability summary
CVE-2024-8235 is a medium (CVSS 6.2) NULL Pointer Dereference vulnerability in redhat libvirt. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.4% of scored vulnerabilities.
Timeline
- 30-08-2024PublishedVulnerability first disclosed.
- 08-11-2025Last 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
5 scores · 5 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
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
0.00 pp
From 0.24% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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
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
4 vendors · 63 products
References
50 links- lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/ARTICLEREPORTPatchThird Party Advisory