CVE-2024-8235
NixOS vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2024-8235) was discovered in libvirt, affecting versions 10.4.0 and higher prior to 10.7.0. The flaw was introduced during a refactor of the code fetching the list of interfaces for multiple APIs, which created a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer (NVD, Red Hat).

Technical details

The vulnerability is classified as a NULL Pointer Dereference (CWE-476) with a CVSS v3.1 base score of 6.2 (Medium). The issue occurs when virConnectListInterfaces() is called requesting 0 networks to be filled, leading to a NULL-pointer dereference. This vulnerability only reproduces on platforms where allocation of 0-length memory returns NULL instead of a valid pointer (Red Hat, Bugzilla).

Impact

When successfully exploited, this vulnerability can lead to a crash of the virtinterfaced daemon. Clients connecting to the read-only socket can trigger this crash, resulting in a Denial of Service (DoS) condition (NetApp, NVD).

Mitigation and workarounds

The issue has been addressed in libvirt version 10.5.0-7.el9_5 through Red Hat Enterprise Linux 9 security update RHSA-2024:9128. All versions of libvirt as shipped in Red Hat Enterprise Linux prior to RHEL-9.5 are unaffected by this CVE (Red Hat).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management