{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-12386","id":"CVE-2018-12386","title":"register allocation in JavaScript can lead to type confusion, allowing for an arbitrary read and write: type confusion","description":"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. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.","descriptionLong":"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. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.","published":"2018-10-18T13:00:00.000Z","updated":"2026-06-17T01:37:40.860Z","reserved":"2018-06-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mozilla","metric":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Mozilla Firefox ESR","Mozilla Firefox"],"affectedProducts":[{"vendor":"Mozilla","product":"Firefox ESR","defaultStatus":null,"versions":[{"lessThan":"60.2.2","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]},{"vendor":"Mozilla","product":"Firefox","defaultStatus":null,"versions":[{"lessThan":"62.0.3","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-704"],"aliases":[],"references":[{"url":"https://security.gentoo.org/glsa/201810-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/105460","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://usn.ubuntu.com/3778-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4310","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2884","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securitytracker.com/id/1041770","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1493900","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","fix"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2018-24/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2881","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.13524,"epssPercentile":0.96522,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-12386","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12386","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-12386","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-12386","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["firefox"],"critical":["EPSS 14% with CVSS 8.1"],"attention":null}