# CVE-2021-20181: A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/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.33%, higher than 19% of CVEs (2026-11-30)
- Published: 2021-05-13T15:24:15.000Z
- Modified: 2026-06-17T03:33:25.773Z
- Weaknesses: CWE-362, CWE-367
- Assigned by: redhat

## Description

A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.

(As written by CVE List.)

## Affected

- qemu: up to, including 5.2.0
- qemu qemu: up to 5.2.0
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-21-159/> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html> (mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1927007> (issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210720-0009/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

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

---

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