CWE
20
Advisory Published
CVE Published
Updated

CVE-2018-12387: Input Validation

First published: Tue Oct 02 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.

Credit: security@mozilla.org

Affected SoftwareAffected VersionHow to fix
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
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=18.04
Mozilla Firefox<62.0.3
Mozilla Firefox ESR<60.2.2
debian/firefox
134.0.2-3
debian/firefox-esr
115.14.0esr-1~deb11u1
128.6.0esr-1~deb11u3
128.5.0esr-1~deb12u1
128.6.0esr-1~deb12u1
128.6.0esr-4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of CVE-2018-12387?

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

  • 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.

  • 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.

  • Can CVE-2018-12387 be exploited remotely?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203