Cyber Resilience

CVE-2024-8235

Memory Safety in Redhat Libvirt 10.4.0 – 10.7.0

Published
30 August 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0024 16th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2024-8235 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Redhat Libvirt. Its CVSS base score is 6.2 (Medium).

Operationally, ranked at the 16th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-3750Same product: Redhat Enterprise Linux
CVE-2024-2496Same product: Redhat Enterprise Linux
CVE-2026-11788Same product: Redhat Enterprise Linux
CVE-2026-11819Same product: Redhat Enterprise Linux
CVE-2023-6121Same product: Redhat Enterprise Linux
CVE-2026-11820Same product: Redhat Enterprise Linux
CVE-2023-28327Same product: Redhat Enterprise Linux
CVE-2025-31179Same product: Redhat Enterprise Linux
CVE-2025-4478Same product: Redhat Enterprise Linux
CVE-2025-46400Same product: Redhat Enterprise Linux

Affected Assets

redhat
libvirt
10.4.0 — 10.7.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices (static analysis, code review, safe coding standards) directly prevent NULL dereference bugs during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect NULL dereference defects before release.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References