Ladybird: FinalizationRegistry::cleanup() heap use-after-free via reentrant unregister()
Impact
Ladybird browser versions before 209579c96473c75bd5eba9701fcadb841a045964 have a use-after-free weakness in FinalizationRegistry::cleanup(). An attacker with access to the browser's JavaScript callback can cause a crash or memory corruption.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
LadybirdBrowser · GitHub_M
ladybird
1 range
LadybirdBrowser · GitHub_M
ladybird
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 209579c96473c75bd5eba9701fcadb841a045964
Other versions: unknown
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119332View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.