CVE-2023-26489 — Vulnerability in cranelift-codegen — CVE Details
wasmtime vulnerable to guest-controlled out-of-bounds read/write on x86_64
Summary
Advisory Timeline
- First published March 9, 2023 (1314 days ago).
- Last revised September 10, 2026 — 1281 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p cranelift-codegen --precise 0.93.1
cargo update -p wasmtime --precise 5.0.1
cargo update -p wasmtime --precise 6.0.1
cargo update -p cranelift-codegen --precise 0.91.1
cargo update -p cranelift-codegen --precise 0.92.1
cargo update -p wasmtime --precise 4.0.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: crates.io (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cranelift-codegen | crates.io | All versions | 0.93.1 |
| wasmtime | crates.io | All versions | 5.0.1 |
| wasmtime | crates.io | All versions | 6.0.1 |
| cranelift-codegen | crates.io | All versions | 0.91.1 |
| cranelift-codegen | crates.io | All versions | 0.92.1 |
| wasmtime | crates.io | All versions | 4.0.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ff4p-7xrq-q5r8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26489ADVISORY
- https://github.com/bytecodealliance/wasmtime/commit/63fb30e4b4415455d47b3da5a19d79c12f4f2d1fWEB
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_guard_sizeWEB
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_maximum_sizeWEB
- https://github.com/bytecodealliance/wasmtimePACKAGE
- https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQWEB
- https://rustsec.org/advisories/RUSTSEC-2023-0090.htmlWEB
Frequently Asked Questions
- What is CVE-2023-26489?
- wasmtime vulnerable to guest-controlled out-of-bounds read/write on x86_64 This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2023-26489?
- CVE-2023-26489 affects cranelift-codegen and wasmtime. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-26489 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2021-32629HIGH
Memory access due to code generation flaw in Cranelift module
- CVE-2022-39392HIGH
Bug in Wasmtime implementation of pooling instance allocator
- CVE-2022-39393HIGH
Data leakage between instances in the pooling allocator
- CVE-2026-35195HIGH
Out-of-bounds write or crash when transcoding component model strings
- CVE-2026-27204MEDIUM
Guest-controlled resource exhaustion in WASI implementations
- CVE-2026-27572MEDIUM
Panic adding excessive fields to a `wasi:http/types.fields` instance
- CVE-2026-34942MEDIUM
Panic when transcoding misaligned component model UTF-16 strings
- CVE-2026-34941MEDIUM
Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies