CVE-2018-5097 Use after free in Firefox

Critical 9.8 Published Updated

A use-after-free flaw in XSL transformations allows attackers to cause a crash or potentially execute arbitrary code via manipulated script content.

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

What is CVE-2018-5097?

CVE-2018-5097 is a critical use after free vulnerability in Canonical Ubuntu 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 can occur during XSL transformations when the source document for the transformation is manipulated by script content during the transformation. This results in a potentially exploitable crash. This vulnerability affects Thunderbird < 52.6, Firefox ESR < 52.6, and Firefox < 58.

Weakness: CWE-416

Which versions are affected by CVE-2018-5097?

It affects 9 products.

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

How do I fix CVE-2018-5097?

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-2018-5097 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5097, GHSA-w9q9-vcxp-7jmc, UBUNTU-CVE-2018-5097.

Is CVE-2018-5097 in your software?

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

Check your SBOMs for free