Skip to content

chore(deps): update rust crate wasmtime to v49.0.4 [security] - #621

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-wasmtime-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-wasmtime-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
wasmtime workspace.dependencies patch 49.0.2 → 49.0.4

Wasmtime: 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 stream or future into 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 as StreamAny or FutureAny, 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:

  1. Create streams or futures on the host with StreamReader::new or FutureReader::new
  2. Pass them to guest code and receive them back as StreamAny, FutureAny, Val::Stream/Val::Future, or a typed reader whose payload is one of these.
  3. Pass them on to a guest function whose stream or future payload 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 Score: 5.7 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

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_table instruction

CVE-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_table instruction 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 Score: 9.9 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

bytecodealliance/wasmtime (wasmtime)

v49.0.4

Compare Source

49.0.4

Released 2026-10-19.

Fixed
  • wasi-http: Guests can add conflicting content lengths to messages
    GHSA-r8xh-cgf7-392j
  • wasi-http p3: forwarded trailers aren't checked against is_forbidden_header hook
    GHSA-jxcf-8qw5-5c33
  • wasi-http p3: Guests can set incorrect content-length for spliced response bodies
    GHSA-9prg-84vf-g5fc
  • Cranelift backend on aarch64 can jump to incorrect target on large Wasm br_table instruction
    GHSA-mghf-wjfp-p5xm
  • Update rustls to 0.23.46
    #​14767
  • Panic lowering a host-created component model stream into a guest that expects a different payload type.
    GHSA-9pvw-hwfg-92h5

v49.0.3

Compare Source

49.0.3

Released 2026-10-14.

Fixed

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants