Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-26489

9.9 · CRITICAL
Published Mar 8, 2023 bytecodealliance CWE-125 EPSS 1.26% (67th pctl)

Overview

CVE-2023-26489 is a critical-severity vulnerability affecting bytecodealliance cranelift-codegen. It was published on March 8, 2023 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

wasmtime is a fast and secure runtime for WebAssembly. In affected versions wasmtime's code generator, Cranelift, has a bug on x86_64 targets where address-mode computation mistakenly would calculate a 35-bit effective address instead of WebAssembly's defined 33-bit effective address. This bug means that, with default codegen settings, a wasm-controlled load/store operation could read/write addresses up to 35 bits away from the base of linear memory. Due to this bug, however, addresses up to `0xffffffff * 8 + 0x7ffffffc = 36507222004 = ~34G` bytes away from the base of linear memory are possible from guest code. This means that the virtual memory 6G away from the base of linear memory up to ~34G away can be read/written by a malicious module. A guest module can, without the knowledge of the embedder, read/write memory in this region. The memory may belong to other WebAssembly instances when using the pooling allocator, for example. Affected embedders are recommended to analyze preexist

Remediation

Check the references section for vendor advisories and patches from bytecodealliance. Update cranelift-codegen to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
bytecodealliance cranelift-codegen >= 0.84.0, < 0.91.1 Affected
bytecodealliance wasmtime >= 0.37.0, < 4.0.1 Affected

Frequently Asked Questions

What is CVE-2023-26489?

CVE-2023-26489 is a critical-severity vulnerability affecting bytecodealliance cranelift-codegen. It was published on March 8, 2023 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

How severe is CVE-2023-26489?

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-26489?

Check the references section for vendor advisories and patches from bytecodealliance. Update cranelift-codegen to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-26489?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-26489 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.