# CVE-2023-40360: QEMU through 8.0.4 accesses a NULL pointer in nvmedirectivereceive in hw/nvme/ctrl.c because there is no check for whether an endurance gro…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-14T00:00:00.000Z
- Modified: 2026-06-17T06:17:25.470Z
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qemu qemu: from 8.0.0 up to 8.0.4

## References

- <https://gitlab.com/qemu-project/qemu/-/issues/1815> (exploit, issue-tracking, vendor-advisory)
- <https://gitlab.com/birkelund/qemu/-/commit/6c8f8456cb0b239812dee5211881426496da7b98> (patch)
- <https://www.qemu.org/docs/master/system/security.html> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230915-0004/> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-40360](https://www.cve.org/CVERecord?id=CVE-2023-40360), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-40360](https://nvd.nist.gov/vuln/detail/CVE-2023-40360), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40360 · Whole record: https://cve.day/CVE-2023-40360.json · Rebuilt by cve.day 2026-11-25T22:58:27.109Z
