CVE-2026-4702
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-4702 is a JIT miscompilation vulnerability in the JavaScript Engine component of Mozilla Firefox and Thunderbird. The flaw allows type confusion attacks through incorrect code generation by the Just-In-Time compiler, potentially enabling arbitrary code execution or denial of service. Affected versions include Firefox before 149, Firefox ESR before 140.9, Thunderbird before 149, and Thunderbird ESR before 140.9. The vulnerability was disclosed on March 24, 2026, and is rated moderate impact by Mozilla, with a CVSS v3.1 base score of 9.8 (Critical) as assessed by NVD (Mozilla Advisory Firefox 149, Mozilla Advisory ESR 140.9).

Technical details

The root cause is a miscompilation error in Firefox's JIT (Just-In-Time) compiler within the JavaScript Engine, classified under CWE-843 (Access of Resource Using Incompatible Type / Type Confusion) and CWE-733 (Compiler Optimization Removal or Modification of Security-critical Code). When the JIT compiler incorrectly optimizes or generates native code for certain JavaScript constructs, it may produce type-confused memory accesses that bypass type safety guarantees enforced at the interpreter level. The vulnerability is network-exploitable with no privileges or user interaction required, as malicious JavaScript can be delivered via a crafted web page or HTML email. The bug was tracked internally as Mozilla Bug 2013560 and was discovered by a team of researchers (Evyatar Ben Asher, Keane Lucas, Nicholas Carlini, Newton Cheng, Daniel Freeman, Alex Gaynor, and Joel Weinberger) using Claude from Anthropic (Mozilla Advisory Firefox 149, Mozilla Advisory ESR 140.9).

Impact

Successful exploitation could allow a remote attacker to achieve arbitrary code execution or cause a denial of service within the context of the browser or email client process. The type confusion arising from JIT miscompilation may enable an attacker to read or write memory out of bounds, potentially bypassing browser security boundaries and accessing sensitive data processed by the affected application. In the context of Thunderbird, exploitation could be triggered via a malicious HTML email, broadening the attack surface beyond web browsing (Mozilla Advisory Firefox 149, Mozilla Advisory ESR 140.9).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.017% (0.000170), indicating a low current probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. The vulnerability was discovered through AI-assisted security research using Anthropic's Claude model, which is a notable aspect of its discovery context (Mozilla Advisory Firefox 149).

Exploitation steps

  1. Reconnaissance: Identify targets running unpatched Firefox (< 149) or Firefox ESR (< 140.9) / Thunderbird (< 149 or ESR < 140.9) using browser fingerprinting techniques or by targeting known user populations.
  2. Craft malicious JavaScript: Develop a JavaScript payload that triggers the specific JIT miscompilation path — this involves constructing code patterns that cause the JIT compiler to generate type-confused native instructions (e.g., treating a pointer as an integer or vice versa).
  3. Deliver the payload: Host the malicious JavaScript on an attacker-controlled web page and lure the victim to visit it (e.g., via phishing, malvertising, or watering hole attack). For Thunderbird, embed the payload in an HTML email.
  4. Trigger JIT compilation: Ensure the JavaScript function containing the exploit is executed enough times to be JIT-compiled (typically via a loop), causing the browser to generate and execute the miscompiled native code.
  5. Achieve code execution: The type confusion resulting from miscompilation allows the attacker to corrupt memory or redirect execution flow, potentially achieving arbitrary code execution within the browser process and enabling further post-exploitation activity (Mozilla Advisory Firefox 149, Mozilla Advisory ESR 140.9).

Indicators of compromise

  • Network: Unexpected outbound connections from the Firefox or Thunderbird process to unknown external IP addresses or domains following JavaScript-heavy page loads.
  • Process: Unusual child processes spawned by firefox, firefox-esr, or thunderbird executables (e.g., cmd.exe, powershell.exe, /bin/sh, curl, wget) that are not part of normal browser operation.
  • Logs: Browser crash reports or telemetry logs indicating JIT-related faults or memory access violations in the JavaScript engine around the time of suspicious page visits.
  • File System: Unexpected files written to user profile directories or temporary folders by the browser process, particularly executables or scripts not associated with browser updates.

Mitigation and workarounds

Mozilla has released patched versions addressing this vulnerability: Firefox 149, Firefox ESR 140.9, Thunderbird 149, and Thunderbird ESR 140.9. Users and administrators should update immediately to one of these versions. No configuration-based workaround is available; upgrading is the only definitive remediation. As an interim measure, organizations may consider restricting access to untrusted websites, enabling browser isolation technologies, or deploying endpoint detection and response (EDR) tools to monitor for exploitation attempts. Downstream Linux distributions including Red Hat, Debian, openSUSE, AlmaLinux, Rocky Linux, and Amazon Linux have also released updated packages (Mozilla Advisory Firefox 149, Mozilla Advisory ESR 140.9).

Community reactions

The vulnerability attracted notable attention due to its discovery method: it was found by a team of researchers using Anthropic's Claude AI model, making it one of the first publicly credited CVEs discovered with AI assistance in a major browser. VulnCheck published a blog post specifically discussing the Anthropic/Glasswing-credited CVEs, highlighting the significance of AI-assisted vulnerability research (VulnCheck Blog). Security news outlets including CyberSecurityNews and HealSecurity covered the Firefox 149 release, noting the 37 vulnerabilities patched and the AI-assisted discovery angle. Community discussion on Mastodon and security forums reflected interest in the implications of AI-driven bug hunting for the broader security research ecosystem.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

thunderbird: 1:140.9.0esr-1~deb12u1

Fixed

sid

thunderbird: 1:140.9.0esr-1

Fixed

trixie

thunderbird: 1:140.9.0esr-1~deb13u1

Fixed

Ubuntu

Affected

bionic (esm-apps)

mozjs38

Unknown

devel

firefox

Not Affected

jammy

thunderbird

Affected

noble

firefox

Not Affected

questing

firefox

Not Affected

resolute

firefox

Not Affected

RHEL / CentOS

Fixed

RHEL 8

:appstream:firefox-0:140.9.0-1.el8_10.src

Fixed

RHEL 9

:appstream:firefox-0:140.9.0-1.el9_0.src

Fixed

RHEL 10

firefox-0:140.9.0-1.el10_0.src

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86738CRITICAL9.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86734HIGH7.1
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86735MEDIUM5.9
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86737MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86736MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management