CVE catalog

CVE-2026-90648

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

[CVE catalog]

Severity
High · CVSS 7.1CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwabtsid1.0.42+dfsg+~cs1.0.39-2fixed
Debianwabtforky1.0.42+dfsg+~cs1.0.39-2fixed
Debianwabttrixie1.0.36+dfsg+~cs1.0.36-2vulnerable
Debianwabtbookworm1.0.32-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwabtsourcesid1.0.42+dfsg+~cs1.0.39-2not yet assignedNot reported[1150156]
Debianwabtsourceforky1.0.42+dfsg+~cs1.0.39-2not yet assignedNot reported[1150156]
Debianwabtsourcetrixie(unfixed)not yet assignedNot reported[1150156]
Debianwabtsourcebookworm(unfixed)not yet assignedNot reported[1150156]

[Debian bug #1150156]

Notes

[trixie] wabt: Minor issue [bookworm] wabt: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [wabt]Affected
    Details (2)
    • 1.0.32-1 · amd64 · bookworm

      Affected

      nvd · wabt · debian · bookworm; nvd · wabt · debian · 12

    • 1.0.32-1 · arm64 · bookworm

      Affected

      nvd · wabt · debian · bookworm; nvd · wabt · debian · 12

[Debian 13 (Trixie)]

  • [wabt]Affected
    Details (2)
    • 1.0.36+dfsg+~cs1.0.36-2 · amd64 · trixie

      Affected

      nvd · wabt · debian · 13

    • 1.0.36+dfsg+~cs1.0.36-2 · arm64 · trixie

      Affected

      nvd · wabt · debian · 13

Observed:

References