CVE-2026-115391Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 Unbounded Heap Allocation via…
Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation vulnerability in its WASIp3 implementation that buffers guest-specified-length writes on the host without limit. Malicious guests can offer large buffers to WASIp3 file or HTTP write streams, causing the host to copy and buffer all bytes, bounded only by guest linear memory, exhausting host memory.
What to do
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-wasmtime | Fix pending | UBUNTU-CVE-2026-115391 | |
| Ubuntu 26.04 | rust-wasmtime | Under investigation | UBUNTU-CVE-2026-115391 | |
| Ubuntu 24.04 | rust-wasmtime | Under investigation | UBUNTU-CVE-2026-115391 | |
| Red Hat Enterprise Linux 10 | libtree-sitter | Not affected | ||
| Red Hat Enterprise Linux 10 | libtree-sitter-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | virt-firmware-rs | Not affected | ||
| crates.io library | wasmtime | Fixed | 47.0.4 | RUSTSEC-2026-0268 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- bytecodealliance wasmtime: affected: 46.0.0 to before 46.0.3, 46.0.3 not affected, 47.0.0 to before 47.0.4, 47.0.4 not affected; fixed in
46.0.3,47.0.4
Vendor advisories:
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-x84v-gj2h-g759 (vendor-advisory)
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-x84v-gj2h-g759
- https://www.vulncheck.com/advisories/wasmtime-46.0.0-before-46.0.3-and-47.0.0-before-47.0.4-unbounded-heap-allocation-via-wasip3-streams
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.