CVE-2018-12387
A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push with multiple arguments that results in the stack pointer…
- 9.1CriticalCVSS base score
- 9.6%Exploitation in 30 daysEPSS · top 4.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mozilla
- 4 months later
· 4 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
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)
- EUVD EUVD-2018-4361 (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://cveledger.app/cve/CVE-2018-12387)Record last updated .