Use after free in Base (CVE-2026-4441)
A re-entrancy flaw in a callback list container could free a subscription while an outer notification loop was still iterating over it. An attacker who can trigger a nested notification and destroy a later callback's subscription could cause a heap use-after-free.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 16 days
base::OnceCallbackList contains a re-entrancy bug that leads to a heap-use-after-free (UAF) if a callback triggers a nested Notify() and a subsequent callback's subscription is destroyed before the outer Notify() loop resumes.
The UAF occurs due to iterator invalidation caused by moving list nodes between std::list containers during active iteration.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely iterator invalidation: list nodes are moved between containers while an active iteration over the list is still in progress.
Impact
Could cause a heap use-after-free, which may crash the process and, in some conditions, be exploited for memory corruption.
What the attacker needed
Ability to trigger nested Notify(); a callback subscription destroyed mid-iteration
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A callback is a function that gets called later when something happens. This code keeps a list of callbacks and walks through it to call each one; if one callback causes the list to be changed while it is still being walked, the code can end up using memory that has already been freed, which is unsafe and can crash or be exploited.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.