{"cve":"CVE-2026-35195","nvd":{"published":"2026-04-09T19:16:25.500","modified":"2026-10-26T22:10:00.163","status":"Analyzed","description":"Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of transcoding strings between components contains a bug where the return value of a guest component's realloc is not validated before the host attempts to write through the pointer. This enables a guest to cause the host to write arbitrary transcoded string bytes to an arbitrary location up to 4GiB away from the base of linear memory. These writes on the host could hit unmapped memory or could corrupt host data structures depending on Wasmtime's configuration. Wasmtime by default reserves 4GiB of virtual memory for a guest's linear memory meaning that this bug will by default on hosts cause the host to hit unmapped memory and abort the process due to an unhandled fault. Wasmtime can be configured, however, to reserve less memory for a guest and to remove all guard pages, so some configurations of Wasmtime may lead to corruption of data outside of a guest's linear memory, such as host data structures or other guests's linear memories. This vulnerability is fixed in 24.0.7, 36.0.7, 42.0.2, and 43.0.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-787"],"references":["https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm"],"products":["bytecodealliance:wasmtime"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-35195","score":0.00216,"percentile":0.1188,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-394w-hwhg-8vgm","url":"https://osv.dev/vulnerability/GHSA-394w-hwhg-8vgm","summary":"Wasmtime has out-of-bounds write or crash when transcoding component model strings","modified":"2026-09-10T03:50:42.375597350Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":["<24.0.7"],"fixed":["24.0.7"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=25.0.0 <36.0.7"],"fixed":["36.0.7"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=37.0.0 <42.0.2"],"fixed":["42.0.2"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=43.0.0 <43.0.1"],"fixed":["43.0.1"]}]},{"id":"RUSTSEC-2026-0091","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0091","summary":"Out-of-bounds write or crash when transcoding component model strings","modified":"2026-10-12T18:00:08.828955020Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=0.0.0-0 <24.0.7",">=25.0.0 <36.0.7",">=37.0.0 <42.0.2",">=43.0.0 <43.0.1"],"fixed":["24.0.7","36.0.7","42.0.2","43.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}