Vulnerability DatabaseGHSA-2674-w29h-wqvj

GHSA-2674-w29h-wqvj: 
Rust vulnerability analysis and mitigation

Summary

When the wasmtime crate is built without its threads cargo feature, an embedder could still enable the WebAssembly threads proposal through Config::wasm_features. A guest module that then executes memory.atomic.notify, memory.atomic.wait32 or memory.atomic.wait64 makes compiled code call a runtime function that such builds don't implement, which aborts the host process.

Details

Without the threads cargo feature, Wasmtime disables the threads proposal by default, but Config::wasm_features(WasmFeatures::THREADS, true) turned it back on and Engine::new accepted that configuration. Under this configuration memory.atomic.notify, memory.atomic.wait32 and memory.atomic.wait64 are implemented by runtime functions that only exist with the threads cargo feature. Without the Cargo feature, these functions are stubs that panic, and because they are called directly from compiled code the panic cannot unwind, so the process aborts. Wasmtime now rejects enabling the threads proposal when the threads cargo feature is disabled: Engine::new returns an error.

Impact

Only embeddings that build the wasmtime crate with default-features = false, without the threads feature, and then enable the threads proposal through Config::wasm_features are affected. In affected builds, a guest module can abort the host process. Embedders can work around the issue by not enabling WasmFeatures::THREADS in builds without the threads cargo feature, or by enabling the threads cargo feature.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-xm3f-jwj9-3x8mMEDIUM4.5
  • Rust logoRust
  • russh-config
NoYesNov 21, 2026
GHSA-m6v5-wqxv-mffhMEDIUM4.3
  • Rust logoRust
  • russh
NoYesNov 21, 2026
GHSA-66vf-xq4p-pg7qLOW3.7
  • Rust logoRust
  • russh
NoYesNov 21, 2026
GHSA-7qgr-cjxw-6vjfLOW3.1
  • Rust logoRust
  • russh
NoYesNov 21, 2026
GHSA-v3vc-7662-5hv7LOWN/A
  • Rust logoRust
  • russh
NoYesNov 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management