CVE-2026-35195
published medium CVSS 4.0 · 6.1Wasmtime has an out-of-bounds write or crash when transcoding component model strings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bytecodealliance | — | wasmtime< 24.0.7 · >= 25.0.0, < 36.0.7 · >= 37.0.0, < 42.0.2 · >= 43.0.0, < 44.0.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-16 | libtree-sitter0_26aarch64 | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | libtree-sitter0_26ppc64le | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | libtree-sitter0_26s390x | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | libtree-sitter0_26x86_64 | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | libtree-sitter0_26-x86-64-v3x86_64 | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | tree-sitter-develaarch64 | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | tree-sitter-develppc64le | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | tree-sitter-devels390x | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | SLE-16 | tree-sitter-develx86_64 | Advisory build | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtree-sitter0_26aarch64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtree-sitter0_26ppc64le | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtree-sitter0_26s390x | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtree-sitter0_26x86_64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtree-sitter0_26-x86-64-v3x86_64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitteraarch64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitterppc64le | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitters390x | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitterx86_64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-develaarch64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-develppc64le | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-devels390x | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-develx86_64 | Advisory build | 0.26.8-160000.1.1 | OPENSUSE-SU-2026:20749-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.7 (affected)>= 25.0.0, < 36.0.7 (affected)>= 37.0.0, < 42.0.2 (affected)>= 43.0.0, < 44.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-787 CWE-787: Out-of-bounds Write
References
1Provider assertions
2GitHub_M · cna
Wasmtime has an out-of-bounds write or crash when transcoding component model strings
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d95012d51097d17018732d7d95ba799b1e842366a488d5078688b5c0e35c62be
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record