# CVE-2021-3947: A stack-buffer-overflow was found in QEMU in the NVME component.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2022-02-18T17:50:50.000Z
- Modified: 2026-06-17T04:06:16.567Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

A stack-buffer-overflow was found in QEMU in the NVME component. The flaw lies in nvme_changed_nslist() where a malicious guest controlling certain input can read out of bounds memory. A malicious user could use this flaw leading to disclosure of sensitive information.

(As written by CVE List.)

## Affected

- QEMU: qemu-kvm 6.2.0-rc2
- qemu qemu: from 6.0.0 up to 6.1.0; 6.2.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2021869> (issue-tracking, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220318-0003/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3947 · Whole record: https://cve.day/CVE-2021-3947.json · Rebuilt by cve.day 2026-11-25T22:58:07.003Z
