CVE-2024-8235: A flaw was found in libvirt
CVE-2024-8235 is a medium-severity flaw (CVSS 6.2) affecting libvirt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.2 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2024-08-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8235?
libvirt: upgrade to 10.7.0. Exact commands for each OS are on this page.
Is CVE-2024-8235 being exploited?
CVE-2024-8235 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8235 affect?
CVE-2024-8235 affects libvirt. Severity is medium (CVSS 6.2). 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-
How urgent is CVE-2024-8235?
Priority 31/100. On your watchlist
Related CVEs
- CVE-2024-2496 MEDIUM 5.0 UPGRADE MITIGATE A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt
- CVE-2023-3750 MEDIUM 6.5 MITIGATE MITIGATE A flaw was found in libvirt
- CVE-2023-2700 MEDIUM 5.5 DOWNGRADE MITIGATE A vulnerability was found in libvirt
- CVE-2022-0897 MEDIUM 4.3 UPGRADE MITIGATE A flaw was found in the libvirt nwfilter driver
- CVE-2021-4147 MEDIUM 6.5 UPGRADE MITIGATE A flaw was found in the libvirt libxl driver