Repository navigation
chore(deps): update rust crate wasmtime to v49.0.4 [security] - #621
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
49.0.2→49.0.4Wasmtime: Panic lowering a host-created component model stream into a guest that expects a different payload type
CVE-2026-115892 / GHSA-9pvw-hwfg-92h5
More information
Details
Summary
Wasmtime may panic when the host lowers a component model
streamorfutureinto a guest, if the host created that stream or future with one payload type and the guest expects a different one. This can happen when an embedder creates a stream or future, passes it through a guest, receives it back under a type-erased type such asStreamAnyorFutureAny, and then passes it to a guest function with a different payload type.GHSA-63h4-6cx9-pjfj is a related advisory also fixing issues within this area, and this advisory is being issued for portions of Wasmtime that were not fixed as part of that advisory.
Impact
This affects embedders that do all of the following:
StreamReader::neworFutureReader::newStreamAny,FutureAny,Val::Stream/Val::Future, or a typed reader whose payload is one of these.streamorfuturepayload type differs from the type the host created them with.A guest can cause the mismatch in step 3 when it controls the types of the functions it exports or of the values it returns. In that case a malicious guest can make the host panic, a denial of service. Embedders that only use statically typed
StreamReader<T>/FutureReader<T>with concrete payload types throughout, or that never pass streams or futures they created through a guest and back, are not affected.Severity
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm
br_tableinstructionCVE-2026-115893 / GHSA-mghf-wjfp-p5xm
More information
Details
Summary
When running with the Cranelift compiler backend on an aarch64 target, Wasmtime can compile a Wasm module with more than ~256k targets on one
br_tableinstruction in a way that results in an incorrect conditional branch target. This conditional branch could then jump to arbitrary other code (at an user-controlled offset), leading to arbitrary sandbox escapes.Impact
Any Wasmtime engine running on aarch64 with default settings can be forced to jump to arbitrary code by a user-controlled Wasm module. All versions of Wasmtime/Cranelift that support aarch64, since the initial release of that support in 2020 (before Wasmtime v1.0), are affected.
Patches
Wasmtime v36.0.19, v48.0.7, and v49.0.4 have been released which all fix this issue.
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
bytecodealliance/wasmtime (wasmtime)
v49.0.4Compare Source
49.0.4
Released 2026-10-19.
Fixed
GHSA-r8xh-cgf7-392j
is_forbidden_headerhookGHSA-jxcf-8qw5-5c33
GHSA-9prg-84vf-g5fc
br_tableinstructionGHSA-mghf-wjfp-p5xm
#14767
GHSA-9pvw-hwfg-92h5
v49.0.3Compare Source
49.0.3
Released 2026-10-14.
Fixed
Out-of-bounds zero-length stream writes can panic.
GHSA-93g3-36p8-x2gc
Host panic when component
call_asyncis cancelled under some conditions.GHSA-3r89-v5mq-j5xf
Panic on erroneous call-to-host from guest realloc call.
GHSA-7v24-42x9-pxf7
Yielding in a component start function can lead to a host panic.
GHSA-5hhx-4wrr-3j9g
Panic when invoking an async-lifted function via
call.GHSA-m6w2-jwq2-cv2c
Panic when pending calls are run after a trap.
GHSA-hmwq-g22x-qjw5
Stack overflow dropping a long chain of recursive types.
GHSA-wjc8-633q-pwxr
Wasmtime may not properly enforce async-entrypoint requirement.
GHSA-vcg5-q8m5-8379
Panic viewing component model stream or future as the wrong type.
GHSA-63h4-6cx9-pjfj
Component-model handle tables are capped only per instance and charged to no
limit.
GHSA-q554-3cjc-rx7p
Exception tags can cause host data structures to be unaligned.
GHSA-p79w-pv2r-29qp
Filesystem sandbox escape when renaming symlinks with trailing slashes.
GHSA-m9f7-9w4p-gv38
Overlapping string transcode in a fused adapter can panic.
GHSA-54p9-vhhq-8f7q
Guests can send absolute-form HTTP requests to different hosts.
GHSA-5qpp-g3j2-8frx
wasi-http: Request with long url before query parameter crashes host.GHSA-w36r-2hch-9xp9
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.