Back
CVE-2018-12387
A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push with multiple arguments that results in the stack pointer…
Critical9.1EPSS 9.6%
- Published
- Updated
- Reserved
- Assigned by
- mozilla
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 9.6% · top 4.5% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
- affected unspecified – < 60.2.2
- affected unspecified – < 62.0.3
References (9)
- GLSA-201810-01 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 105460 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- USN-3778-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugzilla.mozilla.org/show_bug.cgi?id=1493903 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-4310 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:2884 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1041770 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.mozilla.org/security/advisories/mfsa2018-24/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2881 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-12387)Record last updated .