Cyber Resilience

CVE-2023-40360

Memory Safety in Qemu 8.0.0 – 8.0.4

Public PoCMemory Safety
Published
14 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score 0.0039 32th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2023-40360 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Qemu Qemu. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 32th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

QEMU through 8.0.4 accesses a NULL pointer in nvme_directive_receive in hw/nvme/ctrl.c because there is no check for whether an endurance group is configured before checking whether Flexible Data Placement is enabled.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-7730Same product: Qemu Qemu
CVE-2024-26328Same product: Qemu Qemu
CVE-2025-54566Same product: Qemu Qemu
CVE-2024-24474Same product: Qemu Qemu
CVE-2023-2861Same product: Qemu Qemu
CVE-2024-26327Same product: Qemu Qemu
CVE-2023-42467Same product: Qemu Qemu
CVE-2025-54567Same product: Qemu Qemu
CVE-2024-6519Same product: Qemu Qemu
CVE-2023-6683Same product: Qemu Qemu

Affected Assets

qemu
qemu
8.0.0 — 8.0.4

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