CVE-2026-58592
Ladybird - Web-Reachable Code Execution via Dangling FunctionType Reference in WebAssembly ESM Integration
Mitigation
- Upgrade Ladybird to 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665 or later.
Who should check
- Anyone running LadybirdBrowser Ladybird < 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665
Vulnerability facts
- Affected
- LadybirdBrowser Ladybird < 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665
- Fixed in
- LadybirdBrowser Ladybird 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: Active
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 40, 2026-11-26)
- CWE
- CWE-825, CWE-843, CWE-787
- Modified
Description
Ladybird before commit 2f9dc7e contains a dangling-reference memory-safety flaw in its WebAssembly ESM-integration module loader. When a JavaScript function is imported into a WebAssembly module via the ESM path, WebAssemblyModule.cpp passes a stack-local Wasm::FunctionType by reference to create_host_function, whose host callback captures and later reads that reference; once the ESM link-loop iteration ends the FunctionType is destroyed, leaving the callback with a dangling reference (the normal instantiate path uses a long-lived reference and is not affected). Stale result-type data lets the host callback return an empty result vector for a statically non-empty result, so the destination register retains an attacker-influenced value that is then consumed by the WASM-GC array.set handler, which bit-casts the reference low bits to an ArrayInstance pointer after only a null check, yielding an arbitrary write. A web page can chain this into code execution in the WebContent process. Verified reachable from HTML content without any instrumentation or source modification.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| LadybirdBrowser Ladybird | < 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-58592. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-58592.md Affected: LadybirdBrowser Ladybird < 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665 Fixed in: LadybirdBrowser Ladybird 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665 Steps: 1. Search this machine and project for LadybirdBrowser Ladybird: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Exploits and PoCs
FAQ
Is CVE-2026-58592 being exploited?
There is no confirmed exploitation: CVE-2026-58592 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-58592?
High: CVSS 8.9 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-58592?
LadybirdBrowser Ladybird < 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665.
Is there a fix for CVE-2026-58592?
Yes. Fixed in LadybirdBrowser Ladybird 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665. Upgrade Ladybird to 2f9dc7e9f35eed67dde3f9e8567d390dc4f0c665 or later.
How do I check if I'm affected by CVE-2026-58592?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.