8.1
CWE
704
Advisory Published
CVE Published
Updated

CVE-2018-12386: Incorrect Type Cast

First published: Tue Oct 02 2018(Updated: )

A vulnerability in register allocation in JavaScript can lead to type confusion, allowing for an arbitrary read and write. This leads to remote code execution inside the sandboxed content process when triggered.

Credit: security@mozilla.org

Affected SoftwareAffected VersionHow to fix
Firefox<62.0.3
62.0.3
Firefox ESR<60.2.2
60.2.2
Red Hat Enterprise Linux Desktop=6.0
Red Hat Enterprise Linux Desktop=7.0
Red Hat Enterprise Linux Server=6.0
Red Hat Enterprise Linux Server=7.0
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Server=7.5
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Workstation=6.0
Red Hat Enterprise Linux Workstation=7.0
Debian Linux=9.0
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04
Firefox<62.0.3
Firefox ESR<60.2.2
debian/firefox
137.0.1-1
debian/firefox-esr
115.14.0esr-1~deb11u1
128.9.0esr-1~deb11u1
128.8.0esr-1~deb12u1
128.9.0esr-1~deb12u1
128.9.0esr-2

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-12386?

    CVE-2018-12386 is classified as a critical vulnerability, allowing for remote code execution.

  • How do I fix CVE-2018-12386?

    To fix CVE-2018-12386, update your software to the latest version of Firefox or Firefox ESR.

  • What types of software are affected by CVE-2018-12386?

    CVE-2018-12386 affects various versions of Mozilla Firefox, Firefox ESR, and multiple versions of Red Hat and Debian Linux.

  • What are the consequences of exploiting CVE-2018-12386?

    Exploiting CVE-2018-12386 can lead to arbitrary read and write access, resulting in possible remote code execution.

  • Is CVE-2018-12386 specific to a certain operating system?

    CVE-2018-12386 is not limited to a single operating system; it affects numerous platforms including Windows, Linux, and macOS.

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