Skip to content
Memory corruption Disclosed report

Graphite 2 vm::Machine::Code::estimateCodeDataOut underestimation leads to buffer overflow

Holger Fuhrmannek Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 30 days
  • Paid in 54 days
  • Disclosed after 30 days
Text
Created attachment 8728348
poc.zip

In pass.cpp the estimateCodeDataOut method is used to calculate the value of prog_pool_sz which is to small if the source data contains multiple very small code regions. 
poc tested with https://ftp.mozilla.org/pub/firefox/tinderbox-builds/mozilla-central-linux64-asan/1457494932/firefox-48.0a1.en-US.linux-x86_64-asan.tar.bz2

The original report as published on Mozilla's Bugzilla, by Holger Fuhrmannek. 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 critical-severity memory corruption bug in Graphics: Text. Mozilla made it public on 8 April 2016.

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 Holger Fuhrmannek

View all

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