CVE-2016-1961: Mozilla Firefox

High severity, CVSS 8.8. EPSS: 2.9% chance of exploitation in the next 30 days.

Use-after-free vulnerability in the nsHTMLDocument::SetBody function in dom/html/nsHTMLDocument.cpp in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7 allows remote attackers to execute arbitrary code by leveraging mishandling of a root element, aka ZDI-CAN-3574.

Affected products

  • Mozilla Firefox: up to and including 44.0.2; version 38.0 only; version 38.0.1 only; version 38.0.5 only; version 38.1.0 only; version 38.1.1 only; …
  • Mozilla Thunderbird: up to and including 38.6.0
  • Opensuse Leap: version 42.1 only
  • Opensuse Opensuse: version 13.1 only; version 13.2 only
  • Oracle Linux: version 5.0 only; version 6 only; version 7 only
  • Suse Linux Enterprise: version 12.0 only

Published 2016-03-13. Last modified 2026-06-17.