cve.bz

CVE-2018-12387 Improper Input Validation

9.1 criticalExploit referenceEPSS 9.6%Fix available

Critical (9.1). EPSS 9.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
9.6% (unchanged from 9.6% a week ago; 9.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12387 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12387?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12387?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12387 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mozilla Firefox ESRbefore 60.2.2
Mozilla Firefoxbefore 62.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9firefox-esr60.2.2esr-1~deb9u1DSA-4310-1
Debian12, 13, 14firefox-esr60.2.2esr-1DEBIAN-CVE-2018-12387
Ubuntu14.04:LTSfirefox62.0.3+build1-0ubuntu0.14.04.2UBUNTU-CVE-2018-12387 USN-3778-1
Ubuntu14.04:LTSthunderbird1:60.4.0+build2-0ubuntu0.14.04.1UBUNTU-CVE-2018-12387
Ubuntu16.04:LTSfirefox62.0.3+build1-0ubuntu0.16.04.2UBUNTU-CVE-2018-12387 USN-3778-1
Ubuntu16.04:LTSthunderbird1:60.4.0+build2-0ubuntu0.16.04.1UBUNTU-CVE-2018-12387
Ubuntu18.04:LTSfirefox62.0.3+build1-0ubuntu0.18.04.1UBUNTU-CVE-2018-12387 USN-3778-1
Ubuntu18.04:LTSmozjs38, mozjs52no fix listedUBUNTU-CVE-2018-12387
Ubuntu18.04:LTSthunderbird1:60.4.0+build2-0ubuntu0.18.04.1UBUNTU-CVE-2018-12387
Ubuntu20.04:LTSmozjs52no fix listedUBUNTU-CVE-2018-12387
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morefirefox, firefox-debuginfo0:60.2.2-1.el6RHSA-2018:2881
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfirefox, firefox-debuginfo0:60.2.2-1.el7_5RHSA-2018:2884
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 moreMozillaFirefox60.2.2esr-109.46.1SUSE-SU-2018:3591-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 moremozilla-nspr4.19-19.3.1SUSE-SU-2018:3591-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 moremozilla-nss3.36.4-58.15.3SUSE-SU-2018:3591-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 7 moreMozillaFirefox-branding-SLE60-32.3.1SUSE-SU-2018:3591-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2-LTSS and 5 moreapache2-mod_nss1.0.14-19.6.3SUSE-SU-2018:3591-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4MozillaFirefox-branding-SLE60-32.3.1SUSE-SU-2018:3591-2
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moreMozillaFirefox60.2.2esr-109.46.1SUSE-SU-2018:3591-2
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moremozilla-nspr4.19-19.3.1SUSE-SU-2018:3591-2
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moremozilla-nss3.36.4-58.15.3SUSE-SU-2018:3591-2
SUSELinux Enterprise Module for Desktop Applications 15MozillaFirefox60.2.2-3.13.3SUSE-SU-2018:3476-1
SUSELinux Enterprise Module for Desktop Applications 15MozillaFirefox-branding-SLE60-4.5.3SUSE-SU-2018:3476-1
SUSELinux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4apache2-mod_nss1.0.14-19.6.3SUSE-SU-2018:3591-2
openSUSETumbleweedMozillaFirefox92.0-1.2openSUSE-SU-2024:10600-1
openSUSETumbleweedfirefox-esr128.5.1-1.1openSUSE-SU-2024:14572-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Critical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6firefox-0:60.2.2-1.el6Fixed 2018-10-08RHSA-2018:2881
Red Hat Enterprise Linux 7firefox-0:60.2.2-1.el7_5Fixed 2018-10-08RHSA-2018:2884
Red Hat Enterprise Linux 6thunderbirdNot affected
Red Hat Enterprise Linux 7thunderbirdNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-12387.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON