Graphite 2 vm::Machine::Code::estimateCodeDataOut underestimation leads to buffer overflow
Originally disclosed on Mozilla
- Fixed in 30 days
- Paid in 54 days
- Disclosed after 30 days
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
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.