CVE-2015-2731 Use after free in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code via crafted JavaScript triggering a use-after-free in Firefox's CSP implementation.

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-2015-2731?

CVE-2015-2731 is a critical use after free vulnerability in Mozilla Firefox, published on 6 Jul 2015. 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 CSPService::ShouldLoad function in the microtask implementation in Mozilla Firefox before 39.0, Firefox ESR 38.x before 38.1, and Thunderbird before 38.1 allows remote attackers to execute arbitrary code by leveraging client-side JavaScript that triggers removal of a DOM object on the basis of a Content Policy.

Which versions are affected by CVE-2015-2731?

It affects 4 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird, Oracle Solaris.

How do I fix CVE-2015-2731?

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-2015-2731 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-x5r4-6m79-9q47, UBUNTU-CVE-2015-2731.

Is CVE-2015-2731 in your software?

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

Check your SBOMs for free