CVEfocus › CVE database › CVE-2026-104855

CVE-2026-104855Wasmtime: Preemption and traps during bulk operations enable breaking internal VM state

CVSS 2.0 LowEPSS 0.4% (higher than 30% of CVEs)Published 2026-10-02Updated 2026-10-06Assigner: GitHub_M

Wasmtime is a runtime for WebAssembly. From 46.0.0 until 46.0.2 and 47.0.3, fuel and epoch preemption checks inside bulk operations including memory.copy, table.grow, and array.copy can expose invalid intermediate state when an embedder mutates a Store in Store::epoch_deadline_callback or continues using a Store after cancellation or a trap. A cancelled non-nullable table growth can leave null elements, linear-memory growth during memory.copy can invalidate retained raw pointers, and callback-triggered garbage collection during array.copy can invalidate GC pointers, resulting in a crash, invalid memory access, or GC heap corruption. Embeddings whose callbacks only access the host data in Store<T>, and embeddings that discard a Store after timeout or epoch deadline, are not affected. This issue is fixed in versions 46.0.2 and 47.0.3.

CWE-362

What to do

Fixed builds are available from crates.io: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

1Fixed
4Fix pending
2Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-wasmtimeFix pendingUBUNTU-CVE-2026-104855
Ubuntu 26.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-104855
Ubuntu 24.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-104855
Red Hat Enterprise Linux 10libtree-sitterFix pending
Fix deferred
Red Hat Enterprise Linux 10libtree-sitter-develFix pending
Fix deferred
Red Hat Enterprise Linux 10virt-firmware-rsFix pending
Fix deferred
crates.io librarywasmtimeFixed47.0.3GHSA-2hw9-mc66-jc2q

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.