CVE catalog

CVE-2026-34941

Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime contains a vulnerability where when transcoding a UTF-16 string to the latin1+utf16 component-model encodin

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

Wasmtime is a runtime for WebAssembly. Prior to 24.0.7, 36.0.7, 42.0.2, and 43.0.1, Wasmtime contains a vulnerability where when transcoding a UTF-16 string to the latin1+utf16 component-model encoding it would incorrectly validate the byte length of the input string when performing a bounds check. Specifically the number of code units were checked instead of the byte length, which is twice the size of the code units. This vulnerability can cause the host to read beyond the end of a WebAssembly's linear memory in an attempt to transcode nonexistent bytes. In Wasmtime's default configuration this will read unmapped memory on a guard page, terminating the process with a segfault. Wasmtime can be configured, however, without guard pages which would mean that host memory beyond the end of linear memory may be read and interpreted as UTF-16. A host segfault is a denial-of-service vulnerability in Wasmtime, and possibly being able to read beyond the end of linear memory is additionally a vulnerability. Note that reading beyond the end of linear memory requires nonstandard configuration of Wasmtime, specifically with guard pages disabled. This vulnerability is fixed in 24.0.7, 36.0.7, 42.0.2, and 43.0.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
CpewasmtimeNot reported24.0.7fixed
CpewasmtimeNot reported36.0.7fixed
CpewasmtimeNot reported42.0.2fixed
CpewasmtimeNot reported43.0.1fixed
Debianrust-wasmtime1326.0.1+dfsg-10vulnerable
Debianrust-wasmtime1326.0.1+dfsg-3vulnerable
Debianrust-wasmtime1326.0.1+dfsg-4vulnerable
Debianrust-wasmtime1326.0.1+dfsg-5vulnerable
Debianrust-wasmtime1326.0.1+dfsg-6vulnerable
Debianrust-wasmtime1326.0.1+dfsg-7vulnerable
Debianrust-wasmtime1326.0.1+dfsg-8vulnerable
Debianrust-wasmtime1326.0.1+dfsg-9vulnerable
Debianrust-wasmtime1327.0.0+dfsg-2vulnerable
Debianrust-wasmtime1327.0.0+dfsg-3vulnerable
Debianrust-wasmtime1327.0.0+dfsg-4vulnerable
Debianrust-wasmtime1328.0.1+dfsg-1vulnerable
Debianrust-wasmtime1328.0.1+dfsg-2vulnerable
Debianrust-wasmtime1328.0.1+dfsg-3vulnerable
Debianrust-wasmtime1329.0.1+dfsg-1vulnerable
Debianrust-wasmtime1329.0.1+dfsg-2vulnerable
Debianrust-wasmtime1329.0.1+dfsg-3vulnerable
Debianrust-wasmtime1329.0.1+dfsg-4vulnerable
Debianrust-wasmtime1329.0.1+dfsg-5vulnerable
Debianrust-wasmtime1329.0.1+dfsg-6vulnerable
Debianrust-wasmtime1329.0.1+dfsg-7vulnerable
Debianrust-wasmtime1329.0.1+dfsg-8vulnerable
Debianrust-wasmtime1336.0.11+dfsg-1vulnerable
Debianrust-wasmtime1336.0.12+dfsg-1vulnerable
Debianrust-wasmtime1336.0.12+dfsg-2vulnerable
Debianrust-wasmtime1336.0.12+dfsg-3vulnerable
Debianrust-wasmtime1336.0.13+dfsg-1vulnerable
Debianrust-wasmtime1336.0.5+dfsg-1vulnerable
Debianrust-wasmtime1336.0.5+dfsg-2vulnerable
Debianrust-wasmtime1336.0.5+dfsg-3vulnerable
Debianrust-wasmtime1336.0.5+dfsg-4vulnerable
Debianrust-wasmtime1336.0.5+dfsg-5vulnerable
Debianrust-wasmtime1336.0.6+dfsg-1vulnerable
Debianrust-wasmtime1336.0.6+dfsg-2vulnerable
Debianrust-wasmtime1336.0.6+dfsg-3vulnerable
Debianrust-wasmtime1336.0.6+dfsg-4vulnerable
Debianrust-wasmtime1336.0.6+dfsg-5vulnerable
Debianrust-wasmtime1336.0.6+dfsg-6vulnerable
Debianrust-wasmtime1336.0.6+dfsg-7vulnerable
Debianrust-wasmtime1336.0.7+dfsg-1vulnerable
Debianrust-wasmtime1336.0.8+dfsg-1vulnerable
Debianrust-wasmtime1336.0.9+dfsg-1vulnerable
Debianrust-wasmtime1336.0.9+dfsg-2vulnerable
Debianrust-wasmtime1426.0.1+dfsg-10vulnerable
Debianrust-wasmtime1426.0.1+dfsg-3vulnerable
Debianrust-wasmtime1426.0.1+dfsg-4vulnerable
Debianrust-wasmtime1426.0.1+dfsg-5vulnerable
Debianrust-wasmtime1426.0.1+dfsg-6vulnerable
Debianrust-wasmtime1426.0.1+dfsg-7vulnerable
Debianrust-wasmtime1426.0.1+dfsg-8vulnerable
Debianrust-wasmtime1426.0.1+dfsg-9vulnerable
Debianrust-wasmtime1427.0.0+dfsg-2vulnerable
Debianrust-wasmtime1427.0.0+dfsg-3vulnerable
Debianrust-wasmtime1427.0.0+dfsg-4vulnerable
Debianrust-wasmtime1428.0.1+dfsg-1vulnerable
Debianrust-wasmtime1428.0.1+dfsg-2vulnerable
Debianrust-wasmtime1428.0.1+dfsg-3vulnerable
Debianrust-wasmtime1429.0.1+dfsg-1vulnerable
Debianrust-wasmtime1429.0.1+dfsg-2vulnerable
Debianrust-wasmtime1429.0.1+dfsg-3vulnerable
Debianrust-wasmtime1429.0.1+dfsg-4vulnerable
Debianrust-wasmtime1429.0.1+dfsg-5vulnerable
Debianrust-wasmtime1429.0.1+dfsg-6vulnerable
Debianrust-wasmtime1429.0.1+dfsg-7vulnerable
Debianrust-wasmtime1429.0.1+dfsg-8vulnerable
Debianrust-wasmtime1436.0.5+dfsg-1vulnerable
Debianrust-wasmtime1436.0.5+dfsg-2vulnerable
Debianrust-wasmtime1436.0.5+dfsg-3vulnerable
Debianrust-wasmtime1436.0.5+dfsg-4vulnerable
Debianrust-wasmtime1436.0.5+dfsg-5vulnerable
Debianrust-wasmtime1436.0.6+dfsg-1vulnerable
Debianrust-wasmtime1436.0.6+dfsg-2vulnerable
Debianrust-wasmtime1436.0.6+dfsg-3vulnerable
Debianrust-wasmtime1436.0.6+dfsg-4vulnerable
Debianrust-wasmtime1436.0.6+dfsg-5vulnerable
Debianrust-wasmtime1436.0.6+dfsg-6vulnerable
Debianrust-wasmtime1436.0.6+dfsg-7vulnerable
Debianrust-wasmtime1436.0.7+dfsg-1fixed
Opensusetree-sittertumbleweed0.26.8-2.1fixed
CpewasmtimeNot reported43.0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpewasmtimecpeNot reported24.0.7Not reportedNot reportedNot reported
CpewasmtimecpeNot reported36.0.7Not reportedNot reportedNot reported
CpewasmtimecpeNot reported42.0.2Not reportedNot reportedNot reported
CpewasmtimecpeNot reported43.0.1Not reportedNot reportedNot reported
Debianrust-wasmtimedeb1436.0.7+dfsg-1Not reportedDEBIAN-CVE-2026-34941Not reported
Opensusetree-sitterrpmtumbleweed0.26.8-2.1Not reportedOPENSUSE-SU-2026:10715-1Not reported
CpewasmtimecpeNot reported43.0.1Not reportedNVD-CVE-2026-34941Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • Source package: [rust-wasmtime]

    Details (2)
    • 0.113.1+26.0.1+dfsg-3 · all · trixie

      Affected

      nvd · rust-wasmtime · debian · 13

    • 0.113.1+26.0.1+dfsg-3 · all · trixie

      Affected

      nvd · rust-wasmtime · debian · 13

[openSUSE Tumbleweed]

  • Source package: [tree-sitter]

    Details (1)
    • 0.26.8-4.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.26.8-2.1

      Version impact unknown

      nvd · tree-sitter · opensuse · tumbleweed

  • Source package: [tree-sitter]

    Details (1)
    • 0.26.8-4.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.26.8-2.1

      Version impact unknown

      nvd · tree-sitter · opensuse · tumbleweed

  • Source package: [tree-sitter]

    Details (1)
    • 0.26.8-4.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.26.8-2.1

      Version impact unknown

      nvd · tree-sitter · opensuse · tumbleweed

  • Source package: [tree-sitter]

    Details (1)
    • 0.26.8-4.1 · x86_64 · tumbleweed

      Fixed · Fixed: 0.26.8-2.1

      nvd · tree-sitter · opensuse · tumbleweed

Observed:

References