8.8high
Ladybird: FinalizationRegistry::cleanup() heap use-after-free via reentrant unregister()
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Ladybird is a truly independent web browser. Prior to 209579c96473c75bd5eba9701fcadb841a045964, FinalizationRegistry::cleanup() in Libraries/LibJS/Runtime/FinalizationRegistry.cpp removed a dead record from m_records, retained an iterator to the next FinalizationRecord, and then invoked attacker-controlled JavaScript through the cleanup callback. If that callback called unregister() for the next record, remove_by_token() freed the node referenced by the retained iterator, and the next cleanup iteration read its target and held_value fields after free. This reliably crashes instrumented WebContent builds and creates a memory-corruption primitive in production builds. This vulnerability is fixed by commit 209579c96473c75bd5eba9701fcadb841a045964.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LadybirdBrowser ladybird | < 209579c96473c75bd5eba9701fcadb841a045964 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-119332 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-119332 changed 2026-11-06 | Public domain |