CVEfocus › CVE database › CVE-2018-12386

CVE-2018-12386

CVSS 8.1 HighEPSS 13.5% (higher than 97% of CVEs)Published 2018-10-18Updated 2024-08-05Assigner: mozilla

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.

What to do

Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
3Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12386
Ubuntu 18.04firefoxFixed62.0.3+build1-0ubuntu0.18.04.1UBUNTU-CVE-2018-12386
Ubuntu 18.04mozjs38Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12386
Ubuntu 18.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12386
Ubuntu 18.04thunderbirdFixed1:60.4.0+build2-0ubuntu0.18.04.1UBUNTU-CVE-2018-12386
Ubuntu 16.04firefoxFixed62.0.3+build1-0ubuntu0.16.04.2UBUNTU-CVE-2018-12386
Ubuntu 16.04thunderbirdFixed1:60.4.0+build2-0ubuntu0.16.04.1UBUNTU-CVE-2018-12386
Ubuntu 14.04firefoxFixed62.0.3+build1-0ubuntu0.14.04.2UBUNTU-CVE-2018-12386
Ubuntu 14.04thunderbirdFixed1:60.4.0+build2-0ubuntu0.14.04.1UBUNTU-CVE-2018-12386
Debian 14firefox-esrFixed60.2.2esr-1DEBIAN-CVE-2018-12386
Debian 13firefox-esrFixed60.2.2esr-1DEBIAN-CVE-2018-12386
Debian 12firefox-esrFixed60.2.2esr-1DEBIAN-CVE-2018-12386
Red Hat Enterprise Linux 7firefoxFixed0:60.2.2-1.el7_5RHSA-2018:2884
Red Hat Enterprise Linux 7thunderbirdNot affected
Red Hat Enterprise Linux 6firefoxFixed0:60.2.2-1.el6RHSA-2018:2881
Red Hat Enterprise Linux 6thunderbirdNot affected

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.