Apparent use of uninitialized memory when rendering truncated GIFs to <canvas>
Originally disclosed on Mozilla
- Fixed in 7 days
- Paid in 59 days
- Disclosed after 7 days
Hey,
This seems reminiscent of bug 1045977, but affects 32.0:
http://lcamtuf.coredump.cx/ffgif2/
The page creates multiple Image() instances of a truncated GIF (./id:000158,orig:000158,src:000140.gif) repeatedly and then renders them on <canvas>. In my testing, this results in the missing (transparent) region being rendered in 2-8 distinct ways, suggesting the use of uninitialized memory (and the risk of leaking secrets across domains).
/mz
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: ImageLib. Mozilla made it public on 12 September 2014 as CVE-2014-1580.
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.