Red Hat VEX
RHVEX-CVE-2026-115889
wasmtime: Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Details
A flaw was found in Wasmtime. An attacker could achieve a sandbox escape and compromise the host system by supplying a specially crafted WebAssembly (Wasm) module. When compiling functions containing an unusually large number of internal values, an integer overflow in the Cranelift compiler backend can cause incorrect code generation and type confusion. This miscompilation allows untrusted guest code to break out of the secure execution environment.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | libtree-sitter | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | libtree-sitter-devel | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-115889
- https://bugzilla.redhat.com/show_bug.cgi?id=2560221
- https://www.cve.org/CVERecord?id=CVE-2026-115889
- https://nvd.nist.gov/vuln/detail/CVE-2026-115889
- https://github.com/bytecodealliance/wasmtime/commit/ba8f7d70caa1825b7f64fa75cd9d03f4a438dae0
- https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aa
- https://github.com/bytecodealliance/wasmtime/pull/12613
- https://github.com/bytecodealliance/wasmtime/pull/14818
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19
- https://github.com/bytecodealliance/wasmtime/releases/tag/v43.0.0
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-897f-g5gm-fmxm