CVE-2018-12387: Memory Address Disclosure in Firefox JavaScript JIT Array.prototype.push Bailout
- Vendors
- Debian ProjectRed HatMozillaCanonical
CVE-2018-12387 is an information-disclosure vulnerability in the Firefox JavaScript JIT compiler. When the JIT compiler inlines Array.prototype.push with multiple arguments, a bailout can leave the stack pointer offset by 8 bytes. The resulting stack-state error leaks a memory address to the calling function. Affected versions are Firefox ESR before 60.2.2 and Firefox before 62.0.3.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker able to trigger the vulnerable JIT compilation and bailout can disclose a memory address to JavaScript executing in the sandboxed content process. The disclosed address can be used as part of a further exploit within that process.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, disable JavaScript JIT compilation or restrict execution of untrusted JavaScript code. However, the recommended action is to update to a fixed version.
Remediation
Patch, then assume compromise.
Upgrade Firefox ESR to version 60.2.2 or later, or Firefox to version 62.0.3 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-12387 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2018-12387?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-12387.
- Is there a patch for CVE-2018-12387?
- Upgrade Firefox ESR to version 60.2.2 or later, or Firefox to version 62.0.3 or later.
- What products are affected by CVE-2018-12387?
- Mozilla Firefox, Mozilla Firefox Esr, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Server, and 5 more.
- How severe is CVE-2018-12387?
- CVE-2018-12387 has a CVSS v3 score of 9.1 (Critical) and an EPSS score of 9.6% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.