CVE-2018-12387: Input Validation

Published Oct 2, 2018
·
Updated

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.

Affected Software

21 affected componentsFixes available
Mozilla Firefox<62.0.3
62.0.3
Mozilla Firefox ESR<60.2.2
60.2.2
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Mozilla Firefox<62.0.3
Mozilla Firefox ESR<60.2.2
Mozilla Firefox<60.2.2
debian/firefox
147.0.4-1
debian/firefox-esr
115.14.0esr-1~deb11u1140.7.0esr-1~deb11u1128.14.0esr-1~deb12u1140.7.0esr-1~deb12u1140.4.0esr-1~deb13u1140.7.0esr-1~deb13u1140.7.0esr-1

Event History

Oct 2, 2018
CVE Published
12:00 AM
Data Sourced
via Red Hat·11:19 PM
DescriptionSeverityAffected Software
Oct 18, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
Description
Data Sourced
via NVD·01:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:48 PM
Description
Dec 7, 2025
Data Sourced
via Ubuntu·06:21 PM
RemedyDescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Debian·04:30 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-12387?

CVE-2018-12387 has been classified as a high severity vulnerability.

2

How do I fix CVE-2018-12387?

To fix CVE-2018-12387, update Firefox to version 62.0.3 or later, or to corresponding patched versions of Firefox ESR and affected distributions.

3

Which software is affected by CVE-2018-12387?

CVE-2018-12387 affects Mozilla Firefox versions up to 62.0.3 and Firefox ESR up to 60.2.2, as well as several versions of Red Hat Enterprise Linux and Debian.

4

Can CVE-2018-12387 be exploited remotely?

Yes, CVE-2018-12387 can potentially be exploited remotely through malicious JavaScript code.

5

What is the impact of CVE-2018-12387 if exploited?

Exploitation of CVE-2018-12387 could lead to memory address leaks and potentially allow for further exploitation within sandboxed content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203