Vulnerabilities / CVE-2018-12387

critical

CVE-2018-12387

Mozilla: stack out-of-bounds read in Array.prototype.push

Published Modified CWE 20
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat, Oracle. Rated lower by Ubuntu (medium).

Description

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. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.

Affected packages and fixed versions

SourcePackageFixed in
Oracle Linux 6firefox60.3.0-1.0.1.el6
Oracle Linux 7firefox60.2.2-1.0.1.el7_5
debian 11firefox-esr60.2.2esr-1
debian 12firefox-esr60.2.2esr-1
debian 13firefox-esr60.2.2esr-1
debian 14firefox-esr60.2.2esr-1
debian 9firefox-esr60.2.2esr-1~deb9u1
echofirefox-esr60.2.2esr-1
ubuntu 14.04firefox, thunderbird62.0.3+build1-0ubuntu0.14.04.2 and 1 more
ubuntu 16.04firefox, thunderbird62.0.3+build1-0ubuntu0.16.04.2 and 1 more
ubuntu 18.04firefox, thunderbird62.0.3+build1-0ubuntu0.18.04.1 and 1 more
ubuntu 18.10firefox, thunderbird62.0.3+build1-0ubuntu1 and 1 more
Show all 38 entries from 23 sources
SourcePackageFixed in
Oracle Linux 6firefox60.3.0-1.0.1.el6
Oracle Linux 7firefox60.2.2-1.0.1.el7_5
debian 11firefox-esr60.2.2esr-1
debian 12firefox-esr60.2.2esr-1
debian 13firefox-esr60.2.2esr-1
debian 14firefox-esr60.2.2esr-1
debian 9firefox-esr60.2.2esr-1~deb9u1
echofirefox-esr60.2.2esr-1
ubuntu 14.04firefox62.0.3+build1-0ubuntu0.14.04.2
ubuntu 14.04thunderbird1:60.4.0+build2-0ubuntu0.14.04.1
ubuntu 16.04firefox62.0.3+build1-0ubuntu0.16.04.2
ubuntu 16.04thunderbird1:60.4.0+build2-0ubuntu0.16.04.1
ubuntu 18.04firefox62.0.3+build1-0ubuntu0.18.04.1
ubuntu 18.04thunderbird1:60.4.0+build2-0ubuntu0.18.04.1
ubuntu 18.10firefox62.0.3+build1-0ubuntu1
ubuntu 18.10thunderbird1:60.4.0+build2-0ubuntu0.18.10.1
ubuntu 19.04firefox62.0.3+build1-0ubuntu1
ubuntu 19.04thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 19.10firefox62.0.3+build1-0ubuntu1
ubuntu 19.10thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 20.04firefox62.0.3+build1-0ubuntu1
ubuntu 20.04thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 20.10firefox62.0.3+build1-0ubuntu1
ubuntu 20.10thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 21.04firefox62.0.3+build1-0ubuntu1
ubuntu 21.04thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 21.10firefox62.0.3+build1-0ubuntu1
ubuntu 21.10thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 22.04firefox62.0.3+build1-0ubuntu1
ubuntu 22.04thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 22.10firefox62.0.3+build1-0ubuntu1
ubuntu 22.10thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 23.04firefox62.0.3+build1-0ubuntu1
ubuntu 23.04thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 23.10firefox62.0.3+build1-0ubuntu1
ubuntu 23.10thunderbird1:60.4.0+build2-0ubuntu1
ubuntu 24.04firefox62.0.3+build1-0ubuntu1
ubuntu 24.04thunderbird1:60.4.0+build2-0ubuntu1

References

All 16 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.