Skip to content
Memory corruption Disclosed report Advanced CVE-2023-4573

use-after-free in mStream

LEE YESEOP Follow

Originally disclosed on Mozilla

  • Fixed in 8 days
  • Paid in 13 days
  • Disclosed after 8 days
Text
Created attachment 9346868
ASAN.txt

While graphics rendering, |mStream| is used to receive rendering data[1]. |mStream| could be destroyed when initialized. However, there is no check in init function[2] and it could initialize twice. This could lead to use-after-free when |mStream| is destroyed during accessing rendering data.

[1]: https://searchfox.org/mozilla-central/source/gfx/layers/ipc/CanvasTranslator.h#261 
[2]: https://searchfox.org/mozilla-central/source/gfx/layers/ipc/CanvasTranslator.cpp#138 



REPRODUCE
Operating System: All
1.apply *patch1.diff and patch2.diff
2.visit index.html

*: patch1.diff is emulating a compromised content process. patch2.diff is patching the Graphic Process to improve the success rate (just for reproducing easily)


Crash State: see asan file

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

What is known

A high-severity memory corruption bug in Graphics. Mozilla made it public on 10 August 2023 as CVE-2023-4573.

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.

More by LEE YESEOP

View all

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