Skip to content
Memory corruption Disclosed report CVE-2014-1580

Apparent use of uninitialized memory when rendering truncated GIFs to <canvas>

Michal Zalewski Follow

Originally disclosed on Mozilla

  • Fixed in 7 days
  • Paid in 59 days
  • Disclosed after 7 days
Text
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

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

More by Michal Zalewski

View all

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