CVE-2018-12387

Public Exploit

Description

A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push with multiple arguments that results in the stack pointer being off by 8 bytes after a bailout. This leaks a memory address to the calling function which can be used as part of an exploit inside the sandboxed content process. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.

Category

9.1
CVSS
Severity: Critical
CVSS 3.0 •
CVSS 2.0 •
EPSS 34.99% Top 5%
Vendor Advisory gentoo.org Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory mozilla.org Vendor Advisory mozilla.org
Affected: Mozilla Firefox ESR
Affected: Mozilla Firefox
Published at:
Updated at:

References

Link Tags
https://security.gentoo.org/glsa/201810-01 third party advisory vendor advisory
http://www.securityfocus.com/bid/105460 vdb entry third party advisory
https://usn.ubuntu.com/3778-1/ third party advisory vendor advisory
https://bugzilla.mozilla.org/show_bug.cgi?id=1493903 issue tracking patch vendor advisory exploit
https://www.debian.org/security/2018/dsa-4310 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:2884 third party advisory vendor advisory
http://www.securitytracker.com/id/1041770 vdb entry third party advisory
https://www.mozilla.org/security/advisories/mfsa2018-24/ vendor advisory
https://access.redhat.com/errata/RHSA-2018:2881 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-12387?
CVE-2018-12387 has been scored as a critical severity vulnerability.
How to fix CVE-2018-12387?
To fix CVE-2018-12387, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-12387 being actively exploited in the wild?
It is possible that CVE-2018-12387 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~35% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-12387?
CVE-2018-12387 affects Mozilla Firefox ESR, Mozilla Firefox.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.