8.8
CWE
416
Advisory Published
Updated

CVE-2016-1961: Use After Free

First published: Sun Mar 13 2016(Updated: )

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.

Credit: security@mozilla.org security@mozilla.org

Affected SoftwareAffected VersionHow to fix
SUSE Linux=42.1
openSUSE=13.1
openSUSE=13.2
SUSE Linux Enterprise Server=12.0
Firefox<=44.0.2
Firefox=38.0
Firefox=38.0.1
Firefox=38.0.5
Firefox=38.1.0
Firefox=38.1.1
Firefox=38.2.0
Firefox=38.2.1
Firefox=38.3.0
Firefox=38.4.0
Firefox=38.5.0
Firefox=38.5.1
Firefox=38.6.0
Firefox=38.6.1
Thunderbird<=38.6.0
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
Firefox ESR=38.0
Firefox ESR=38.0.1
Firefox ESR=38.0.5
Firefox ESR=38.1.0
Firefox ESR=38.1.1
Firefox ESR=38.2.0
Firefox ESR=38.2.1
Firefox ESR=38.3.0
Firefox ESR=38.4.0
Firefox ESR=38.5.0
Firefox ESR=38.5.1
Firefox ESR=38.6.0
Firefox ESR=38.6.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-1961?

    CVE-2016-1961 is a critical vulnerability that allows remote attackers to execute arbitrary code in affected versions of Mozilla Firefox and Firefox ESR.

  • How do I fix CVE-2016-1961?

    To fix CVE-2016-1961, update Mozilla Firefox to version 45.0 or later, or Firefox ESR to version 38.7 or later.

  • Which software is affected by CVE-2016-1961?

    CVE-2016-1961 affects Mozilla Firefox versions prior to 45.0 and Firefox ESR versions prior to 38.7, along with several openSUSE and Oracle Linux distributions.

  • What causes CVE-2016-1961?

    CVE-2016-1961 is caused by a use-after-free vulnerability in the nsHTMLDocument::SetBody function due to mishandling of a root element.

  • Can CVE-2016-1961 be exploited remotely?

    Yes, CVE-2016-1961 can be exploited remotely, allowing attackers to potentially execute arbitrary code on vulnerable systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203