The HTMLSourceElement::AfterSetAttr function in Mozilla Firefox before 37.0 does not properly constrain the original data type of a casted value during the setting of a SOURCE element's attributes, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via a crafted HTML document.
https://security.gentoo.org/glsa/201512-10
https://bugzilla.mozilla.org/show_bug.cgi?id=1134561
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