Code execution via dangling WebAssembly function type
Published Jul 1, 2026 · Updated Jul 1, 2026
Memory corruption in Ladybird version 0 allows remote attackers to execute code in the WebContent process through a crafted web page. The ESM loader passes a stack-local Wasm::FunctionType by reference into a host callback, which later reads it after destruction and leaves a stale result register. Visiting attacker-controlled HTML is sufficient; WASM-GC array.set treats the register's low bits as an ArrayInstance pointer after only a null check, enabling an arbitrary write and native code execution inside the renderer.
Summary
What happened
Memory corruption in Ladybird version 0 allows remote attackers to execute code in the WebContent process through a crafted web page. The ESM loader passes a stack-local Wasm::FunctionType by reference into a host callback, which later reads it after destruction and leaves a stale result register. Visiting attacker-controlled HTML is sufficient; WASM-GC array.set treats the register's low bits as an ArrayInstance pointer after only a null check, enabling an arbitrary write and native code execution inside the renderer.
The record
- CVE
- CVE-2026-58592
- Published
- Jul 1, 2026
- Updated
- Jul 1, 2026
- Vendor
- Ladybird Browser Initiative
- Product
- Ladybird
- Classifications
- CWE-787, CWE-843, CWE-825, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 1, 2026CVE publishedPublication date reported by the CVE source.
- Jul 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Ladybird WebAssembly ESM Host Function RCE PoCfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo