The nsImageGeometryMixin class in Mozilla Firefox before 49.0, Firefox ESR 45.x before 45.4, and Thunderbird < 45.4 does not properly perform a cast of an unspecified variable during handling of INPUT elements, which allows remote attackers to execute arbitrary code via a crafted web site.
https://www.mozilla.org/security/advisories/mfsa2016-88/
https://www.mozilla.org/security/advisories/mfsa2016-86/
https://security.gentoo.org/glsa/201701-15
https://bugzilla.mozilla.org/show_bug.cgi?id=1297934
http://www.securitytracker.com/id/1036852
http://www.securityfocus.com/bid/93049
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
http://www.mozilla.org/security/announce/2016/mfsa2016-85.html