Security readout for executives and security teams
Plain-English summary
A Cranelift code-generation bug could let a malicious Wasm program reach memory outside its heap under specific runtime conditions. This matters most for platforms running untrusted Wasm through affected Cranelift, Wasmtime, or Lucet configurations. The provided sources do not show active exploitation.
Executive priority
Prioritize remediation for any product or service offering customer-controlled Wasm execution. Lower urgency applies to environments without untrusted Wasm or without the affected backend, but asset owners should still confirm versions because sandbox escapes can cross tenant boundaries.
Technical view
In Cranelift 0.73 x64 backend, a spilled narrow integer can be reloaded with sign extension instead of zero extension. If that value becomes a heap pointer after Wasm zero-extension, memory up to 2GiB before the heap may be reachable, depending on heap bounds and guard-region design.
Likely exposure
Exposure is most likely where services execute untrusted Wasm using Cranelift 0.73 defaults, or prior versions explicitly selecting the new x64 backend. Risk depends on whether heap implementation relies on guard pages, heap bound size, and mapped memory before the Wasm heap.
Exploitation context
The CVSS vector requires local access, low privileges, user interaction, and high attack complexity. The source bundle says Wasmtime and Lucet may be exploitable under specific circumstances. KEV is false, and no cited source in the bundle reports active exploitation.
Researcher notes
The bug needs a specific i32 value, register spilling, certain arithmetic or bitwise producers, a zero-extension use, and heap-pointer use. Impact is environment-specific; bounded heaps with suitable checks and no reachable mapped memory before the heap may reduce practical exposure.
Mitigation direction
- Review Bytecode Alliance and Fastly advisories for the supported fixed release path.
- Upgrade affected Cranelift, Wasmtime, or Lucet deployments according to vendor guidance.
- Avoid the vulnerable new x64 backend where upgrade is not immediately possible.
- Verify heap isolation does not rely exclusively on guard pages in affected environments.
- Use large guard regions before Wasm heaps where vendor guidance supports that design.
Validation and detection
- Inventory services that compile or execute untrusted Wasm.
- Identify Cranelift versions and x64 backend selection flags in builds.
- Check whether Wasmtime or Lucet embeds the vulnerable Cranelift codegen version.
- Review heap bounds, guard-page strategy, and pre-heap memory mappings.
- Confirm patched dependency versions against the vendor advisory or fix commit.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-788: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupPrivilege behavior lookup
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32629 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.2 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N0.85.8Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.2HighVector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hpqh-2wqx-7qp5CVE reference · x_refsource_CONFIRM
- https://github.com/bytecodealliance/wasmtime/commit/95559c01aaa7c061088a433040f31e8291fb09d0CVE reference · x_refsource_MISC
- https://crates.io/crates/cranelift-codegenCVE reference · x_refsource_MISC
- https://www.fastly.com/security-advisories/memory-access-due-to-code-generation-flaw-in-cranelift-moduleCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Access of Memory Location After End of Buffer
Access of Memory Location After End of Buffer represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
