CVE-2017-5404 Use after free in Firefox

Critical 9.8 Published Updated

A use-after-free flaw in Firefox and Thunderbird allows attackers to cause a crash or potentially execute arbitrary code via crafted selections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5404?

CVE-2017-5404 is a critical use after free vulnerability in Debian Debian Linux, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A use-after-free error can occur when manipulating ranges in selections with one node inside a native anonymous tree and one node outside of it. This results in a potentially exploitable crash. This vulnerability affects Firefox < 52, Firefox ESR < 45.8, Thunderbird < 52, and Thunderbird < 45.8.

Weakness: CWE-416

Which versions are affected by CVE-2017-5404?

It affects 9 products.

Products include Debian Debian Linux, Mozilla Firefox, Mozilla Thunderbird, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 3 more.

How do I fix CVE-2017-5404?

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-2017-5404 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-5404 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-5404, GHSA-2m8q-984r-f6q8, UBUNTU-CVE-2017-5404.

Is CVE-2017-5404 in your software?

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

Check your SBOMs for free