Skip to content
Memory corruption Disclosed report

Heap-buffer-overflow in ConvertWOFF2ToTTF

Chamal De Silva Follow

Originally disclosed on Mozilla

  • Fixed in 29 hours
  • Paid in 6 days
  • Disclosed after 29 hours
Text
Created attachment 8725179
testfont.html

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce:

1. Download and save corruptFont.woff2 and testfont.html in same folder.
2. Open Firefox built with address sanitizer and open testfont.html.
3. Sometimes tab does not crash. Please reload the page several times if tab does not crash.


Actual results:

Tab crashed with Heap-buffer-overflow.


Expected results:

Tab should not crash.

The original report as published on Mozilla's Bugzilla, by Chamal De Silva. 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: Text. Mozilla made it public on 2 March 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 Chamal De Silva

View all

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