CVE-2024-8235
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.
Severity
MEDIUM
CVSS v3
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
0.242%
chance of exploitation in the next 30 days
higher than 15.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-476: NULL Pointer Dereference
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-08-30 |
Timeline
- 2024-08-30Published by the CNA16:16 UTC
- 2024-08-30CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| redhat libvirt | from 10.4.0 before 10.7.0fixed in 10.7.0 | 10.7.0 |
| redhat enterprise_linux | 10no fix listed9no fix listed | not listednot listed |
References
- https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/
- https://access.redhat.com/errata/RHSA-2024:9128
- https://access.redhat.com/security/cve/CVE-2024-8235
- https://bugzilla.redhat.com/show_bug.cgi?id=2308680
- https://security.netapp.com/advisory/ntap-20240920-0006/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-8235'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-8235'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-8235'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-8235'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).