CVE-2017-5396 Use after free in Firefox

Critical 9.8 Published Updated

A use-after-free flaw in the Media Decoder allows attackers to execute arbitrary code via crafted media files in Firefox and Thunderbird.

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-5396?

CVE-2017-5396 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 vulnerability in the Media Decoder when working with media files when some events are fired after the media elements are freed from memory. This vulnerability affects Thunderbird < 45.7, Firefox ESR < 45.7, and Firefox < 51.

Weakness: CWE-416

Which versions are affected by CVE-2017-5396?

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-5396?

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-5396 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-5396, GHSA-vq28-pr6f-gpm4, UBUNTU-CVE-2017-5396.

Is CVE-2017-5396 in your software?

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

Check your SBOMs for free