Katalog CVE

CVE-2026-54912

WysokieCVSS 8.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

W WebAssembly Micro Runtime (WAMR) przed wersją 2.4.5 dwuprzebiegowy loader szybkiego interpretera w wasm_loader.c może podejmować niespójne decyzje dotyczące tablicy stałych między przebiegiem rozmiarowania a przebiegiem emisji. Złośliwy moduł może spowodować, że drugi przebieg zapisze częściowo kontrolowane przez atakującego dane skompilowanego kodu poza buforem sterty przydzielonym na podstawie obliczeń rozmiaru z pierwszego przebiegu, co uszkadza metadane sterty hosta i powoduje deterministyczną awarię procesu.

Ocena ryzyka

Podatność umożliwia złośliwemu modułowi uszkodzenie metadanych sterty hosta i deterministyczną awarię procesu (odmowa usługi), a dalsze skutki zależą od układu sterty aplikacji hosta. Dotyczy kompilacji z WAMR_BUILD_FAST_INTERP=1.

Rekomendacja

Zaktualizuj WAMR do wersji 2.4.5 lub nowszej. Jako obejście wyłącz szybki interpreter (WAMR_BUILD_FAST_INTERP), co pozwala uniknąć podatnego loadera.

Inne podatności w WebAssembly Micro Runtime (WAMR)

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime. Prior to 2.4.5, the two-pass fast interpreter loader in core/iwasm/interpreter/wasm_loader.c can make inconsistent constant-table decisions between the sizing pass and the emitting pass. After duplicate constants inflate the first pass beyond the constant-slot limit, wasm_loader_get_const_offset emits later constants inline, but the between-pass sort and deduplication reduces the table so the second pass can choose table references and cause reserve_block_ret to emit additional copy operands that were not included in code_compiled_peak_size. A crafted module can therefore make the second pass write partially attacker-controlled compiled-code data beyond the heap buffer allocated from the first pass's size calculation during wasm_runtime_load, before guest code executes. This can corrupt host heap metadata and deterministically crash the process, causing denial of service; further consequences depend on the host application's heap layout. Builds using WAMR_BUILD_FAST_INTERP=1 are affected; disabling the fast interpreter avoids the vulnerable loader. This issue is fixed in version 2.4.5.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS