CVE-2026-9238
QEMU vulnerability analysis and mitigation

Overview

CVE-2026-9238 is a denial-of-service vulnerability in QEMU's 9pfs (Plan 9 filesystem) implementation, specifically in the v9fs_readdir() function. A privileged guest client can send a Treaddir request with an excessively large count value, exploiting insufficient constraints on msize/reply buffer sizing to trigger disproportionate host memory allocation. The CVE is currently in Reserved status with no official NVD publication yet; affected software is identified as QEMU. Feedly estimates the severity as Medium (Feedly).

Technical details

The root cause is insufficient input validation (CWE-400: Uncontrolled Resource Consumption) in QEMU's v9fs_readdir() handler, which fails to adequately constrain the reply buffer size relative to the attacker-supplied msize field in a Treaddir 9P protocol request. A malicious or compromised privileged guest can craft a Treaddir message with a huge count parameter, causing the QEMU host process to allocate memory proportional to the attacker-controlled value. A patch commit has been identified in the QEMU upstream repository (QEMU Commit). Exploitation requires the attacker to control a privileged 9pfs client within the guest VM.

Impact

Successful exploitation causes excessive host memory consumption by the QEMU process, potentially starving other host services of memory and degrading overall host stability. The guest itself may experience a disconnection or have its 9pfs transport marked as "broken," resulting in loss of filesystem access. While the primary impact is availability (denial of service on the host), the QEMU process continues running in a degraded state, meaning other VMs on the same host could also be affected by resource exhaustion (Feedly).

Exploitability

No public exploit code or in-the-wild exploitation has been reported for CVE-2026-9238 as of the time of writing. The CVE remains in Reserved status, limiting public disclosure. Exploitation requires a privileged guest context with access to a 9pfs share, which significantly narrows the attack surface to insider threats or already-compromised guest environments. The vulnerability has been detected by Nessus plugin 330030 (Tenable). No CISA KEV listing or EPSS score is currently available.

Exploitation steps

  1. Precondition: Attacker controls a privileged guest VM that has a 9pfs (virtio-9p) share mounted from the QEMU host.
  2. Craft malicious Treaddir request: Using a custom 9P protocol client or modified kernel driver within the guest, construct a Treaddir message with an extremely large count field (e.g., close to the maximum uint32 value).
  3. Send request to host: Transmit the crafted Treaddir request over the virtio-9p transport channel to the QEMU host process.
  4. Trigger excessive allocation: The vulnerable v9fs_readdir() function on the host allocates a reply buffer sized proportionally to the attacker-supplied msize without adequate bounds checking, consuming large amounts of host RAM.
  5. Achieve DoS: Host memory is exhausted or severely constrained, causing degradation of other VMs and host services; the guest's 9pfs transport may be marked broken, disconnecting the filesystem (QEMU Commit).

Indicators of compromise

  • Process: QEMU process (qemu-system-*) exhibiting abnormally high and growing memory consumption (RSS/VSZ) on the host, particularly when 9pfs/virtio-9p shares are in use.
  • Logs: Host kernel or QEMU logs showing 9pfs transport errors, "broken" transport messages, or out-of-memory (OOM) events correlated with guest 9pfs activity.
  • Network/Transport: Unusual volume of Treaddir 9P protocol messages from a guest with abnormally large count or msize values visible in QEMU debug output (if verbose logging is enabled).
  • System: Host OOM killer events (oom_kill_process) in /var/log/syslog or dmesg output targeting QEMU or other host processes during guest 9pfs operations.

Mitigation and workarounds

Apply the upstream QEMU patch that corrects the insufficient msize/reply buffer size constraints in v9fs_readdir() (QEMU Commit). Downstream distributions (e.g., Debian) are tracking this via their security advisories (OSV/Debian). As a workaround, avoid exposing 9pfs shares to untrusted or potentially compromised guest VMs, and consider applying host-level memory limits (e.g., cgroups) to QEMU processes to bound the impact of runaway allocation.

Additional resources


SourceThis report was generated using AI

Related QEMU vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-6426MEDIUM4.4
  • QEMU logoQEMU
  • virt:rhel::qemu-kvm-block-rbd
NoNoAug 10, 2026
CVE-2026-66021NONEN/A
  • QEMU logoQEMU
  • qemu
NoNoAug 14, 2026
CVE-2026-63318NONEN/A
  • QEMU logoQEMU
  • qemu
NoNoAug 14, 2026
CVE-2026-50626NONEN/A
  • QEMU logoQEMU
  • qemu
NoNoAug 14, 2026
CVE-2026-16457NONEN/A
  • QEMU logoQEMU
  • qemu
NoNoAug 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management