Use-after-free vulnerability in the mozilla::nsTextNodeDirectionalityMap::RemoveElementFromMap function in Mozilla Firefox before 49.0, Firefox ESR 45.x before 45.4, and Thunderbird < 45.4 allows remote attackers to execute arbitrary code via bidirectional text.
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=1289970
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