Use-after-free in nsINode::ReplaceOrInsertBefore
Originally disclosed on Mozilla
- Fixed in 21 days
- Paid in 15 months
- Disclosed after 21 days
Created attachment 619433
PoC triggering the crash.
Use-after-free is triggered during replacing/inserting node in document.
Crashes on:
- 14.0a1 (Ubuntu 11.11, Linux x86-64),
- 15.0a1 (Windows 7, x86-64),
- 12.0 (Windows XP SP3).
Does not crash on 10.0.2.
Attached test-case is a bit flaky, but it will crash browser after 2-5 reloads. ASan log is from version 14.0a1.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity memory corruption bug in DOM: Core & HTML. Mozilla made it public on 20 May 2012 as CVE-2012-1946.
About 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.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
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.