The HTMLSourceElement::BindToTree function in Mozilla Firefox before 37.0 does not properly constrain a data type after omitting namespace validation during certain tree-binding operations, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via a crafted HTML document containing a SOURCE element.
https://security.gentoo.org/glsa/201512-10
https://bugzilla.mozilla.org/show_bug.cgi?id=1134560
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-39.html
http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00003.html