The Off Main Thread Compositing (OMTC) implementation in Mozilla Firefox before 37.0 attempts to use memset for a memory region of negative length during interaction with the mozilla::layers::BufferTextureClient::AllocateForSurface function, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via vectors that trigger rendering of 2D graphics content.
https://security.gentoo.org/glsa/201512-10
https://bugzilla.mozilla.org/show_bug.cgi?id=1099437
http://www.ubuntu.com/usn/USN-2550-1
http://www.securitytracker.com/id/1031996
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
http://www.mozilla.org/security/announce/2015/mfsa2015-38.html
http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00003.html