{"id":"CVE-2026-119332","summary":"Ladybird: FinalizationRegistry::cleanup() heap use-after-free via reentrant unregister()","details":"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.","aliases":["GHSA-6cmv-xmff-qjph"],"modified":"2026-11-08T07:03:59.039799546Z","published":"2026-10-30T19:57:47.291Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119332.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-416"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119332.json"},{"type":"ADVISORY","url":"https://github.com/LadybirdBrowser/ladybird/security/advisories/GHSA-6cmv-xmff-qjph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119332"},{"type":"FIX","url":"https://github.com/LadybirdBrowser/ladybird/commit/209579c96473c75bd5eba9701fcadb841a045964"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ladybirdbrowser/ladybird","events":[{"introduced":"0"},{"fixed":"209579c96473c75bd5eba9701fcadb841a045964"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"209579c96473c75bd5eba9701fcadb841a045964"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"209579c96473c75bd5eba9701fcadb841a045964"}]}]}}],"database_specific":{"vanir_signatures_modified":"2026-11-08T07:03:59Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119332.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"245367718696492675867609806858035039865","length":475},"id":"CVE-2026-119332-59788f35","signature_type":"Function","signature_version":"v1","source":"https://github.com/ladybirdbrowser/ladybird/commit/209579c96473c75bd5eba9701fcadb841a045964","target":{"file":"Libraries/LibJS/Runtime/FinalizationRegistry.cpp","function":"FinalizationRegistry::cleanup"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/ladybirdbrowser/ladybird/commit/209579c96473c75bd5eba9701fcadb841a045964","target":{"file":"Libraries/LibJS/Runtime/FinalizationRegistry.cpp"},"deprecated":false,"digest":{"line_hashes":["134378532370307477064771667959044272914","246887451183138956950944752978563537384","266069036450716406556121122319388098345","314500221466282692350220116151567852880","92139299313466128102115194822788721463","269246727983331314758044839598621869652","42323914969064453830064215066821269687","293907899863783953807703200139771198292"],"threshold":0.9},"id":"CVE-2026-119332-e4094fc5"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}