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

Apparent info leak caused by uninitialized memory with malformed GIFs

Michal Zalewski Follow

Originally disclosed on Mozilla

  • Fixed in 21 days
  • Paid in 27 days
  • Disclosed after 21 days
Text
Check this out:

http://lcamtuf.coredump.cx/ffgif/

The code repeatedly loads the same image via <img> and then puts it on <canvas>, comparing results. At least on my system, this generates somewhere between 4 and 8 distinct bitmaps. The differences are also apparent visually.

This feels awfully like the use of uninitialized memory; if that's the case, it sounds like a potential security-relevant info leak.

The image in question is:
http://lcamtuf.coredump.cx/ffgif/id:000110,src:000023.gif

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 20 August 2014 as CVE-2014-1564.

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.