Apparent info leak caused by uninitialized memory with malformed GIFs
Originally disclosed on Mozilla
- Fixed in 21 days
- Paid in 27 days
- Disclosed after 21 days
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
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.