Skip to content
Memory corruption Disclosed report Advanced

AddressSanitizer: heap-use-after-free [@ __asan_memcpy] with READ of size 496 through [@ JSStructuredCloneData::ReadBytes] involving SessionHistoryEntry over IPC

A crash report from Firefox's AddressSanitizer nightly build shows a heap-use-after-free read of 496 bytes during a memory copy, with the stack passing through structured clone data reading and involving session history entries over inter-process communication. The reporter does not explain how to trigger it or what an attacker could achieve beyond causing the crash.

Christian Holler Follow

Originally disclosed on Mozilla

  • Fixed in 10 days
  • Paid in 15 days
  • Disclosed after 10 days
Text
The attached crash information was submitted via the ASan Nightly Reporter on mozilla-central-asan-nightly revision 82.0a1-20200906094118-https://hg.mozilla.org/mozilla-central/rev/38df8f36910ce8bcc5609841908a52d9c3e6da37.

For detailed crash information, see attachment.

This looks related to SessionHistory and IPC, not sure which component is best suited here.

The original report as published on Mozilla's Bugzilla, by Christian Holler. 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

Impact

The text only shows a crash (denial of service); it does not claim memory corruption could be turned into code execution.

What the attacker needed

Firefox ASan nightly build; unknown trigger

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.

This is an automated crash report from a special build of Firefox that watches for memory mistakes. The browser tried to read a block of memory that had already been freed, which is called a use-after-free; it can crash the browser and, in the worst case, let an attacker run their own code. The report only shows where the crash happened, not how to make it happen.

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 Christian Holler

View all

34 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.