1. Archivio CVE
  2. 2026
  3. CVE-2026-119141

CVE-2026-119141

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 5.3 – Media

Descrizione

Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a denial of service vulnerability that allows malicious Wasm modules to panic the host because the may_leave flag is not cleared during realloc. Attackers can call into the host from realloc while lowering stream or future results, such as cancelling the active read or re-waiting a waitable-set, crashing the host.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
bytecodealliance wasmtime >= 46.0.0 < 48.0.6 –
bytecodealliance wasmtime >= 49.0.0 < 49.0.3 –
Tutte le 94 vulnerabilità di Bytecodealliance Wasmtime

Tipo di vulnerabilità

CWE-1265 Unintended Reentrant Invocation of Non-reentrant Code Via Nested Calls

The product invokes code that is believed to be reentrant, but the code performs a call that unintentionally produces a nested invocation of non-reentrant code.

Impatto sui sistemi

AmbitoImpatto
Integrità Stato imprevisto

Come si previene

Architettura e progettazione When architecting a system that will execute untrusted code in response to events, consider executing the untrusted event handlers asynchronously (asynchronous message passing) as opposed to executing them synchronously at the time each event fires. The untrusted code should execute at the start of the next iteration of the thread's message loop. In this way, calls into non-reentrant code are strictly serialized, so that each operation completes fully before the next operation begins. Special attention must be paid to all places where type coercion may result in script execution. Performing all needed coercions at the very beginning of an operation can help reduce the chance of operations executing at unexpected junctures.
Sviluppo Make sure the code (e.g., function or class) in question is reentrant by not leveraging non-local data, not modifying its own code, and not calling other non-reentrant code.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3 CVE di tipo CWE-1265, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org