CVE-2026-4698
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-4698 is a JIT miscompilation vulnerability in the JavaScript Engine's JIT component of Mozilla Firefox and Thunderbird, enabling remote code execution via malicious JavaScript. It was discovered by researcher maxpl0it working with Trend Micro Zero Day Initiative and disclosed on March 24, 2026. Affected versions include Firefox before 149, Firefox ESR before 115.34 (ESR 115 branch), Firefox ESR before 140.9 (ESR 140 branch), Thunderbird before 149, and Thunderbird ESR before 140.9. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) (Mozilla Advisory mfsa2026-20, Mozilla Advisory mfsa2026-22, Feedly).

Technical details

The root cause is a miscompilation flaw in Firefox's Just-In-Time (JIT) compiler, classified under CWE-843 (Access of Resource Using Incompatible Type / Type Confusion) and CWE-733 (Compiler Optimization Removal or Modification of Security-critical Code). The JIT compiler incorrectly handles certain JavaScript constructs — specifically, switch statement optimizations in the IonMonkey engine — leading to a type confusion condition where data is accessed using an incompatible type. An attacker can exploit this by serving crafted JavaScript to a victim's browser or email client (Thunderbird), requiring no authentication and no user interaction beyond visiting a malicious page or opening a malicious message. The ZDI advisory (ZDI-26-252) confirms the issue results from lack of proper validation of user-supplied data, which can result in a type confusion condition enabling arbitrary code execution (ZDI Advisory, Mozilla Advisory mfsa2026-20, Feedly).

Impact

Successful exploitation allows an unauthenticated remote attacker to execute arbitrary code with the privileges of the Firefox or Thunderbird process on the victim's system, resulting in full compromise of confidentiality, integrity, and availability. An attacker could read sensitive data accessible to the browser process, modify files, install malware, or use the compromised host as a pivot point for lateral movement within a network. The attack requires no privileges and no user interaction, making it particularly dangerous for enterprise environments where Firefox or Thunderbird are widely deployed (Mozilla Advisory mfsa2026-20, Feedly).

Exploitability

As of the time of reporting, no confirmed working exploit or proof-of-concept code has been publicly released; the ZDI advisory (ZDI-26-252) provides vulnerability details but no exploit mechanics or reproduction steps. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and there is no evidence of in-the-wild exploitation. The EPSS score is approximately 0.02%, reflecting low current exploitation probability. The vulnerability was reported by maxpl0it through the Trend Micro Zero Day Initiative bug bounty program (ZDI Advisory, Feedly).

Mitigation and workarounds

Mozilla has released patched versions addressing this vulnerability: Firefox 149, Firefox ESR 115.34, Firefox ESR 140.9, Thunderbird 149, and Thunderbird ESR 140.9. Users and administrators should update to these versions immediately. As a temporary workaround in high-security environments where patching is not immediately possible, restrict execution of untrusted JavaScript and limit access to Firefox and Thunderbird. Enterprise administrators should prioritize patch deployment given the critical CVSS score and network-accessible attack vector (Mozilla Advisory mfsa2026-20, Mozilla Advisory mfsa2026-21, Mozilla Advisory mfsa2026-22).

Community reactions

The vulnerability was part of a large Firefox 149 release that patched 37 vulnerabilities, which received coverage from security news outlets including CyberSecurityNews and HealSecurity, noting the breadth of the release. The ZDI published advisory ZDI-26-252 on April 2, 2026, providing additional technical context. Multiple Linux distributions (Debian, openSUSE, Red Hat, AlmaLinux, Rocky Linux, Oracle Linux, Amazon Linux) issued downstream security advisories and updated packages in the weeks following disclosure, reflecting broad ecosystem response. Social media discussion was noted on Mastodon and other platforms, though no major controversy or researcher dispute was observed (ZDI Advisory, Mozilla Advisory mfsa2026-20).

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