CVE-2018-12386 Memory corruption in Firefox
A type confusion vulnerability in Firefox's JavaScript register allocation allows attackers to achieve remote code execution within the sandboxed content process.
- 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-2018-12386?
CVE-2018-12386 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 18 Oct 2018. 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
A vulnerability in register allocation in JavaScript can lead to type confusion, allowing for an arbitrary read and write. This leads to remote code execution inside the sandboxed content process when triggered. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.
Weakness: CWE-704
Which versions are affected by CVE-2018-12386?
It affects 9 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Mozilla Firefox, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 3 more.
How do I fix CVE-2018-12386?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-12386 being exploited?
There is no known exploitation of CVE-2018-12386 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-12386, GHSA-5vgc-hmw3-287j, UBUNTU-CVE-2018-12386.