
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-14324 is a JIT miscompilation vulnerability in the JavaScript Engine's JIT (Just-In-Time) component of Mozilla Firefox and Thunderbird. Discovered by researcher Lingming Zhang and disclosed on December 9, 2025, the flaw affects Firefox before version 146, Firefox ESR before 115.31 and 140.6, Thunderbird before 146, and Thunderbird ESR before 140.6. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and carries a CVSS v3.1 base score of 9.8 (Critical) (Mozilla Advisory, Mozilla Advisory ESR 140.6).
The root cause is an assertion failure in the RISC-V 64-bit JIT assembler: when the JIT compiler's AssemblerBufferWithConstantPools inserts a veneer (trampoline) to bridge a short-range branch that cannot directly reach its target, the veneer itself can be placed beyond the deadline of a second short-range branch, causing that branch's jump offset immediate to overflow (specifically, the is_intn(imm, kJumpOffsetBits) assertion at base-riscv-i.h:113). In non-debug (release) builds where the assertion is absent, the overflowed jal instruction encodes a backwards jump instead of the intended forward jump, resulting in execution of arbitrary or unintended code. The bug was introduced by the AssemblerBufferWithConstantPools implementation (regressed by Bug 1210554) and affects the RISC-V 64-bit backend; Mozilla engineers noted it could also theoretically affect ARM64 under certain conditions. A proof-of-concept JavaScript file (poc.js) was attached to the public Mozilla Bugzilla report (Mozilla Bugzilla).
Successful exploitation could allow an attacker to achieve arbitrary code execution within the context of the browser process, with high impact to confidentiality, integrity, and availability. Because the CVSS vector indicates no user interaction and no privileges required, a remote attacker could potentially trigger the miscompilation by delivering a crafted JavaScript payload to a vulnerable browser. This could lead to full compromise of the affected system, unauthorized access to sensitive data, and potential for lateral movement if the browser is running in an enterprise environment (Mozilla Advisory, Feedly).
As of the disclosure date, there is no public evidence of active in-the-wild exploitation or a weaponized exploit kit for CVE-2025-14324. A proof-of-concept JavaScript file was submitted by the reporter (Lingming Zhang) and is attached to the public Bugzilla ticket, demonstrating the crash on a RISC-V 64-bit simulator build. The EPSS score is approximately 0.018% (0.000180), indicating a low current probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog at this time (Mozilla Bugzilla, Feedly).
AssemblerBufferWithConstantPools to generate a code sequence where a veneer is inserted past the deadline of a second short-range branch, causing the jump offset to overflow.jal instruction to jump to an unintended memory location in release builds.base-riscv-i.h or IonAssemblerBufferWithConstantPools.h in debug builds.js::jit::AssemblerRISCVI::SetJalOffset, PatchShortRangeBranchToVeneer, or BaselineCompile in stack traces.Mozilla has released patched versions addressing CVE-2025-14324: Firefox 146, Firefox ESR 115.31, Firefox ESR 140.6, Thunderbird 146, and Thunderbird ESR 140.6. Users and administrators should update to these versions immediately. No configuration-based workaround is available; upgrading is the only effective remediation. Enterprise administrators should enforce browser update policies and verify software versions across all managed systems (Mozilla Advisory, Mozilla Advisory ESR 115.31, Mozilla Advisory ESR 140.6).
Mozilla rated the vulnerability as "high" impact in its official security advisories and awarded a security bounty to the reporter, Lingming Zhang. The Mozilla Bugzilla discussion reflects internal debate about severity, with the bug initially triaged as S4/P5 before being escalated to S2/P1 after engineers confirmed potential for reliable arbitrary code execution on ARM64 as well. The CIS (Center for Internet Security) issued an advisory noting that multiple vulnerabilities in Mozilla products, including this one, could allow for arbitrary code execution (CIS Advisory). Downstream Linux distributions including Red Hat, Debian, Oracle Linux, Rocky Linux, AlmaLinux, SUSE, and Slackware issued their own security updates shortly after Mozilla's disclosure.
Fix availability across major Linux distributions and their releases.
bookworm
thunderbird: 1:140.6.0esr-1~deb12u1
sid
thunderbird: 1:140.6.0esr-1
trixie
thunderbird: 1:140.6.0esr-1~deb13u1
bionic (esm-apps)
mozjs38
devel
firefox
jammy
thunderbird: 1:140.7.1+build1-0ubuntu0.22.04.1
noble
firefox
questing
firefox
resolute
firefox
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."