CVE-2016-1961: Use After Free

Published Mar 8, 2016
·
Updated

Security researcher lokihardt, working with HP's Zero Day Initiative, reported a use-after-free issue in the SetBody function of HTMLDocument. This results in a potentially exploitable crash.

External Reference:

https://www.mozilla.org/security/announce/2016/mfsa2016-24.html

Acknowledgements:

Name: the Mozilla project Upstream: lokihardt

Other sources

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.

— MITRE

Affected Software

35 affected components
openSUSE Leap=42.1
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
SUSE Linux Enterprise=12.0
Mozilla Firefox<=44.0.2
Mozilla Firefox=38.0
Mozilla Firefox=38.0.1
Mozilla Firefox=38.0.5
Mozilla Firefox=38.1.0
Mozilla Firefox=38.1.1
Mozilla Firefox=38.2.0
Mozilla Firefox=38.2.1
Mozilla Firefox=38.3.0
Mozilla Firefox=38.4.0
Mozilla Firefox=38.5.0
Mozilla Firefox=38.5.1
Mozilla Firefox=38.6.0
Mozilla Firefox=38.6.1
Mozilla Thunderbird<=38.6.0
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
Mozilla Firefox ESR=38.0
Mozilla Firefox ESR=38.0.1
Mozilla Firefox ESR=38.0.5
Mozilla Firefox ESR=38.1.0
Mozilla Firefox ESR=38.1.1
Mozilla Firefox ESR=38.2.0
Mozilla Firefox ESR=38.2.1
Mozilla Firefox ESR=38.3.0
Mozilla Firefox ESR=38.4.0
Mozilla Firefox ESR=38.5.0
Mozilla Firefox ESR=38.5.1
Mozilla Firefox ESR=38.6.0
Mozilla Firefox ESR=38.6.1

Event History

Mar 8, 2016
Data Sourced
via Red Hat·06:13 AM
DescriptionSeverityAffected Software
Mar 13, 2016
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
06:59 PM
DescriptionSeverityAffected Software
Oct 22, 2024
Updated
via NVD·01:42 PM
Affected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203