Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-140420
Published:December 01, 2026
Updated:December 02, 2026
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 Packages
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v50.0.0-rc.1 <v50.0.2
Fix Suggestion:
Update to version v50.0.2
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v37.0.0 <v48.0.9 || >=v38.0.1 <v48.0.9 || >=v39.0.0 <v48.0.9 || >=v40.0.0 <v48.0.9 || >=v41.0.0 <v48.0.9 || >=v42.0.0 <v48.0.9 || >=v43.0.0 <v48.0.9 || >=v44.0.0 <v48.0.9 || >=v45.0.0 <v48.0.9 || >=v46.0.0 <v48.0.9 || >=v47.0.0 <v48.0.9 || >=v48.0.0 <v48.0.9
Fix Suggestion:
Update to version v48.0.9
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) =v51.0.0-rc.1 <v51.0.0
Fix Suggestion:
Update to version v51.0.0
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v49.0.0-rc.1 <v49.0.6
Fix Suggestion:
Update to version v49.0.6
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=0.2.0 <v36.0.21 || >=v1.0.0 <v36.0.21 || >=v2.0.0 <v36.0.21 || >=v3.0.0 <v36.0.21 || >=v4.0.0 <v36.0.21 || >=v5.0.0 <v36.0.21 || >=v6.0.0 <v36.0.21 || >=v7.0.0 <v36.0.21 || >=v8.0.0 <v36.0.21 || >=v9.0.0 <v36.0.21 || >=v10.0.0 <v36.0.21 || >=v11.0.0 <v36.0.21 || >=v12.0.0 <v36.0.21 || >=v13.0.0 <v36.0.21 || >=v14.0.0 <v36.0.21 || >=v15.0.0 <v36.0.21 || =v16.0.0 <v36.0.21 || >=v17.0.0 <v36.0.21 || >=v18.0.0 <v36.0.21 || >=v19.0.0 <v36.0.21 || >=v20.0.0 <v36.0.21 || >=v21.0.0 <v36.0.21 || >=v22.0.0 <v36.0.21 || >=v23.0.0 <v36.0.21 || >=v24.0.0 <v36.0.21 || >=v25.0.0 <v36.0.21 || >=v26.0.0 <v36.0.21 || =v27.0.0 <v36.0.21 || >=v28.0.0 <v36.0.21 || >=v29.0.0 <v36.0.21 || >=v30.0.0 <v36.0.21 || =v31.0.0 <v36.0.21 || >=v32.0.0 <v36.0.21 || >=v33.0.0 <v36.0.21 || >=v34.0.0 <v36.0.21 || =v35.0.0 <v36.0.21 || >=v36.0.0 <v36.0.21
Fix Suggestion:
Update to version v36.0.21
wasmtime-wasi (RUST):
Affected version(s) >=49.0.0-rc.1 <49.0.6
Fix Suggestion:
Update to version 49.0.6
wasmtime-wasi (RUST):
Affected version(s) >=8.0.0 <36.0.21 || =31.0.0 <36.0.21 || =16.0.0 <36.0.21 || >=36.0.0 <36.0.21 || >=14.0.0 <36.0.21 || >=12.0.0 <36.0.21 || >=2.0.0 <36.0.21 || >=7.0.0 <36.0.21 || >=25.0.0 <36.0.21 || >=4.0.0 <36.0.21 || =35.0.0 <36.0.21 || >=9.0.0 <36.0.21 || >=26.0.0 <36.0.21 || >=29.0.0 <36.0.21 || >=34.0.0 <36.0.21 || >=22.0.0 <36.0.21 || >=0.2.0 <36.0.21 || >=11.0.0 <36.0.21 || >=30.0.0 <36.0.21 || >=18.0.0 <36.0.21 || >=33.0.0 <36.0.21 || =27.0.0 <36.0.21 || >=13.0.0 <36.0.21 || >=1.0.0 <36.0.21 || >=21.0.0 <36.0.21 || >=3.0.0 <36.0.21 || >=23.0.0 <36.0.21 || >=24.0.0 <36.0.21 || >=28.0.0 <36.0.21 || >=10.0.0 <36.0.21 || >=32.0.0 <36.0.21 || >=19.0.0 <36.0.21 || >=20.0.0 <36.0.21 || >=17.0.0 <36.0.21 || >=5.0.0 <36.0.21 || >=15.0.0 <36.0.21 || >=6.0.0 <36.0.21
Fix Suggestion:
Update to version 36.0.21
wasmtime-wasi (RUST):
Affected version(s) >=39.0.0 <48.0.9 || >=42.0.0 <48.0.9 || >=41.0.0 <48.0.9 || >=48.0.0 <48.0.9 || >=45.0.0 <48.0.9 || >=40.0.0 <48.0.9 || >=47.0.0 <48.0.9 || >=46.0.0 <48.0.9 || >=43.0.0 <48.0.9 || >=44.0.0 <48.0.9 || >=38.0.0 <48.0.9 || >=37.0.0 <48.0.9
Fix Suggestion:
Update to version 48.0.9
wasmtime-wasi (RUST):
Affected version(s) >=50.0.0-rc.1 <50.0.2
Fix Suggestion:
Update to version 50.0.2
wasmtime-wasi (RUST):
Affected version(s) =51.0.0-rc.1 <51.0.0
Fix Suggestion:
Update to version 51.0.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
HIGH
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling