CVE-2026-119135
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 panics when the host reads a component model stream as a different Rust item type than it was created with, because the host-to-host read path asserts matching TypeIds instead of returning an error. Guest code can return a host-created StreamReader<U> that the embedder reads as StreamReader<T>, where both types map to the same component model type, crashing the embedding process.
- Score
- 5.9 medium
- Published
- 2026-10-29
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| devel/libwasmtime | libwasmtime | 49.0.2_1 | unaddressed | longros@FreeBSD.org |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>libwasmtime -- FIXME</topic>
<affects>
<package>
<name>libwasmtime</name>
<!-- 49.0.3 is not released yet, newest upstream is 49.0.2 -->
<range><ge>49.0.0</ge><lt>49.0.3</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-119135: Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before
49.0.3 panics when the host reads a component model stream as a
different Rust item type than it was created with, because the
host-to-host read path asserts matching TypeIds instead of
returning an error. Guest code can return a host-created
StreamReader<U> that the embedder reads as StreamReader<T>, where
both types map to the same component model type, crashing the
embedding process.</p>
</body>
</description>
<references>
<cvename>CVE-2026-119135</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-119135</url>
</references>
<dates>
<discovery>2026-10-29</discovery>
<entry>2026-10-29</entry>
</dates>
</vuln>