CVE Professor
/
All CVEs
CVE-2026-140420

CVE-2026-140420 — Bytecodealliance Wasmtime (36.0.21) — CWE-770

MEDIUM CVSS 5.8 NVD

wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.

wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. Low PR:L
User Interaction Required UI:R
Scope Changed S:C
Confidentiality None C:N
Integrity None I:N
Availability High A:H
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140420
CVSS 5.8/10 · MEDIUM · 01.12.2026
CWE: CWE-770
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.
Affected: bytecodealliance wasmtime

⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · user interaction required (UI:R).
⚠️ Scope changes (S:C) — impact can cross security boundaries.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; service can be completely taken down; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply vendor security update for bytecodealliance wasmtime.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="bytecodealliance wasmtime"
CVSS Score
5.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-770
Affected Products (4)
bytecodealliance:wasmtime (36.0.21) bytecodealliance:wasmtime (48.0.9) bytecodealliance:wasmtime (49.0.6) bytecodealliance:wasmtime (50.0.2)
References & Advisories (2)
Related CVEs
8.7
CVE-2026-144572
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticate
8.7
CVE-2026-137408
In Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6, the deserializers for
8.7
CVE-2026-145021
Zebra before 7.1.0 contains an uncontrolled resource consumption vulnerability that allows unauthenticated cli
8.2
CVE-2026-144617
Traccar 6.13.0 before 6.18.0 contains a denial of service vulnerability that allows remote attackers knowing a
8.2
CVE-2026-145183
Mullvad gotatun 0.4.1 before 0.10.1 contains a memory exhaustion vulnerability that allows remote unauthentica
7.7
CVE-2026-145370
### Summary istiod's JWKS resolver reads remote JWKS and OpenID discovery HTTP responses with no size limit.
7.5
CVE-2026-135109
An **allocation of resources without limits or throttling** issue has been found in the dcesrv_samr_ChangePass