CVE-2021-20181 in Debian Linux and 1 more product
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 sy...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-20181 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-240120-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2021-05-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362, CWE-367
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A race condition flaw in the 9pfs server implementation of QEMU up to version 5.2.0 allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system, affecting confidentiality, integrity, and availability.
The attack vector involves a malicious 9p client exploiting a race condition in the 9pfs server implementation of QEMU to cause a use-after-free error, which could lead to privilege escalation.
Questions
What is CVE-2021-20181?
A race condition flaw in the 9pfs server implementation of QEMU up to version 5.2.0 allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system, affecting confidentiality, integrity, and availability.
What is the CVSS score for CVE-2021-20181?
CVE-2021-20181 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2021-20181 actively exploited?
No confirmed active exploitation of CVE-2021-20181 as of 2026-09-25.
How do I remediate CVE-2021-20181?
Priority: HIGH.
What systems are affected by CVE-2021-20181?
CVE-2021-20181 affects Debian Debian Linux; Qemu Qemu.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.