CVE-2016-1961 Use after free in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via a use-after-free flaw in Firefox's HTML document handling, requiring users to upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-1961?

CVE-2016-1961 is a high-severity use after free vulnerability in Mozilla Firefox, published on 13 Mar 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by CVE-2016-1961?

It affects 6 products.

Products include Mozilla Firefox, Mozilla Thunderbird, Opensuse Leap, Opensuse Opensuse, Oracle Linux, Suse Linux Enterprise.

How do I fix CVE-2016-1961?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2016-1961 being exploited?

There is no known exploitation of CVE-2016-1961 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1961, GHSA-gcwx-37j7-6p37, UBUNTU-CVE-2016-1961.

Is CVE-2016-1961 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free