Skip to main content
No exploitation reportedFix available

CVE-2018-12387

No exploitation reported by the sources we read.

  • Published2018-10-18
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

dates in UTC
  1. 2018-10-1813:29CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-12387?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-12387?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
14.4= 14.04no fix published
16.4= 16.04no fix published
18.4= 18.04no fix published
Mozilla firefox
BranchAffectedFixed in
62.0< 62.0.362.0.3
60.2< 60.2.260.2.2
Redhat enterprise linux desktop
BranchAffectedFixed in
6.0= 6.0no fix published
7.0= 7.0no fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apache2-mod_nssSUSE:OpenStack Cloud 7all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server for SAP Applications 12 SP3all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server for SAP Applications 12 SP2all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server for SAP Applications 12 SP1all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server 12 SP4all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server 12 SP3all versions · fixed in 1.0.14-19.6.3
  • apache2-mod_nssSUSE:Linux Enterprise Server 12 SP2-LTSSall versions · fixed in 1.0.14-19.6.3

84 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-12387 Red Hat Product Security154 products fixed

    Mozilla: stack out-of-bounds read in Array.prototype.push

  • RHSA-2018:2884 Red Hat Product Security28 products fixed

    Red Hat Security Advisory: firefox security update

  • RHSA-2018:2881 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: firefox security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2018:2884 · 28 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the update, Firefox must be restarted for the changes to take effect.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.09.1read 2026-10-23
  • NVDCVSS 2.06.4read 2026-10-23
  • NVDweakness (CWE)CWE-20read 2026-10-23
  • FIRST EPSSEPSS score9.6 %2026-11-03
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
2018-10-18
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2018-12387?

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.

Is CVE-2018-12387 actively exploited?

Active exploitation of CVE-2018-12387 has not been confirmed. Its EPSS score was 9.6% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-12387?

CVE-2018-12387 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Running Mozilla? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record