p PatchFirst

CVE-2026-90648

CVE-2026-90648

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

wasm2c in WebAssembly wabt through 1.0.41 allows sandbox escape in some situations that primarily involve 32-bit platforms, aka a "table flip" attack. It does not check the return value of calloc() in wasm_rt_allocate_funcref_table() (wasm2c/wasm-rt-impl-tableops.inc). When the funcref table allocation fails, table->data is left NULL while table->size keeps the guest-declared element count; thus, bounds checks still pass and table element accesses resolve to absolute memory addresses (i * sizeof(wasm_rt_funcref_t)). This gives arbitrary read and write of host process memory and - via table.get, table.set, and call_indirect - arbitrary code execution, defeating the isolation that wasm2c exists to provide (a full sandbox escape). wasm2c is used as an in-process sandboxing boundary by RLBox and WasmBoxC, including in Firefox, which compiles the Graphite, Hunspell, Ogg, Expat, and Woff2 libraries via wasm2c to contain untrusted font, media, and XML input. Therefore, sandboxing in these applications is potentially affected. Exploitation requires the funcref table allocation to fail, for example under an address-space limit (RLIMIT_AS), on 32-bit hosts, with vm.overcommit_memory=2, or under memory pressure. On 64-bit Linux with default overcommit the allocation succeeds and the defect is not triggered. The wasm2c memory allocator aborts on calloc failure in the same runtime; the table allocator lacks this abort behavior. This was introduced in commit ab9e0b55 (PR #813).

CVSS 7.1 · Élevée · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • wabt

    Versions du logiciel
    • ≥ 0, ≤ 1.0.41: Concernée (semver)

    Aucun correctif publié

  • wabt Debian:12

    Versions du logiciel
    • 1.0.32-1
    • 1.0.33-1
    • 1.0.34+dsfg+~cs1.0.32-1
    • 1.0.34+dsfg2+~cs1.0.32-1
    • 1.0.34+dsfg2+~cs1.0.32-2
    • 1.0.34+dsfg2+~cs1.0.32-3
    • 1.0.34+dsfg2+~cs1.0.32-4
    • 1.0.34-1
    • 1.0.36+dfsg+~cs1.0.36-1
    • 1.0.36+dfsg+~cs1.0.36-2
    • 1.0.41+dfsg+~cs1.0.39-1
    • 1.0.41+dfsg+~cs1.0.39-2
    • 1.0.42+dfsg+~cs1.0.39-1
    • 1.0.42+dfsg+~cs1.0.39-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Debian:13

    Versions du logiciel
    • 1.0.36+dfsg+~cs1.0.36-2
    • 1.0.41+dfsg+~cs1.0.39-1
    • 1.0.41+dfsg+~cs1.0.39-2
    • 1.0.42+dfsg+~cs1.0.39-1
    • 1.0.42+dfsg+~cs1.0.39-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Debian:14

    Versions du logiciel
    • 1.0.36+dfsg+~cs1.0.36-2
    • 1.0.41+dfsg+~cs1.0.39-1
    • 1.0.41+dfsg+~cs1.0.39-2
    • 1.0.42+dfsg+~cs1.0.39-1
    Plages de versions concernées
    • ECOSYSTEM: < 1.0.42+dfsg+~cs1.0.39-2

    Mettez à jour vers 1.0.42+dfsg+~cs1.0.39-2

  • wabt Ubuntu:20.04:LTS

    Versions du logiciel
    • 1.0.11-1
    • 1.0.12-1
    • 1.0.13-1
    • 1.0.13-1build1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Ubuntu:22.04:LTS

    Versions du logiciel
    • 1.0.20-1
    • 1.0.24-1
    • 1.0.24-2
    • 1.0.25-1
    • 1.0.26-1
    • 1.0.27-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Ubuntu:24.04:LTS

    Versions du logiciel
    • 1.0.33-1
    • 1.0.34-1
    • 1.0.34+dsfg2+~cs1.0.32-1ubuntu1
    • 1.0.34+dsfg2+~cs1.0.32-1ubuntu2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Ubuntu:26.10

    Versions du logiciel
    • 1.0.36+dfsg+~cs1.0.36-2ubuntu1
    • 1.0.36+dfsg+~cs1.0.36-2ubuntu4
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • wabt Ubuntu:26.04:LTS

    Versions du logiciel
    • 1.0.36+dfsg+~cs1.0.36-2ubuntu1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →