CVE-2018-12386: Incorrect Type Cast

Published Oct 2, 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.

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
DescriptionWeakness
Data Sourced
via NVD·01:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:49 PM
Description
Nov 30, 2025
Data Sourced
via Ubuntu·06:17 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-12386?

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

2

How do I fix CVE-2018-12386?

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

3

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.

4

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.

5

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