CVE-2026-12321 JIT miscompilation in the JavaScript: WebAssembly component
A JIT miscompilation in the WebAssembly component allows attackers to execute arbitrary code, requiring users to upgrade Firefox and Thunderbird.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-12321?
CVE-2026-12321 is a medium-severity code injection vulnerability in Mozilla Firefox, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
JIT miscompilation in the JavaScript: WebAssembly component. This vulnerability was fixed in Firefox 152 and Thunderbird 152.
Weakness: CWE-670
Which versions are affected by CVE-2026-12321?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2026-12321?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-12321 being exploited?
There is no known exploitation of CVE-2026-12321 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-r946-vv6g-44hh, UBUNTU-CVE-2026-12321.