CVE-2022-26486 — Mozilla Firefox Use-After-Free Vulnerability

CVE-2022-26486

Mozilla Firefox — Zero-Day Use-After-Free in WebGPU IPC Framework Enables RCE via Malicious Page

What is Mozilla Firefox?

Mozilla Firefox is one of the world's most widely used web browsers, with hundreds of millions of users. Browser vulnerabilities are among the most impactful attack vectors because browsers process untrusted content from the internet by default — a single visit to a malicious web page can trigger exploitation with no additional user interaction beyond clicking a link.

Overview

CVE-2022-26486 is a critical use-after-free (UAF) vulnerability in Firefox's WebGPU IPC (Inter-Process Communication) framework. WebGPU is the next-generation GPU API for web applications, replacing WebGL. The vulnerability allows an attacker to achieve arbitrary code execution by luring a user to a malicious web page. Mozilla confirmed active exploitation in the wild and released an emergency patch on March 5, 2022. CISA added it to KEV just 2 days later. CVSS 9.6 (scope changed, user interaction required). This CVE was disclosed alongside CVE-2022-26485, another Firefox zero-day fixed in the same emergency release.

Affected Versions

Product Vulnerable Fixed
Firefox Before 97.0.2 97.0.2
Firefox ESR Before 91.6.1 91.6.1
Firefox for Android Before 97.3.0 97.3.0
Thunderbird Before 91.6.2 91.6.2

Technical Details

A use-after-free (CWE-416) vulnerability occurs when a program continues to use a memory pointer after the memory it points to has been freed. In the WebGPU IPC framework, the bug exists in the handling of the IPC message queue for GPU process communication — an object is freed but a reference to it remains, and subsequent operations on that reference allow an attacker to control freed memory.

Exploitation flow:

  1. Attacker crafts a malicious web page with JavaScript/WebGPU code that triggers the UAF condition
  2. The freed memory is reclaimed with attacker-controlled data (heap spray technique)
  3. When the dangling pointer is dereferenced, execution is redirected to attacker-controlled code
  4. The attacker achieves code execution in the Firefox renderer process (sandboxed)
  5. Chaining with a sandbox escape (e.g., CVE-2022-26485, a WASM IPC vulnerability in the same release) can achieve full OS-level code execution

The "scope changed" CVSS metric reflects that successful exploitation escapes the renderer sandbox boundary. User interaction required = user must visit a malicious page (a low bar for targeted attacks via phishing).

Discovery

Mozilla stated the vulnerability was "reported by a member of the Mozilla Fuzzing Team" but also acknowledged active exploitation in the wild, suggesting the bug may have been independently discovered by a threat actor before Mozilla's disclosure.

Exploitation Context

Browser zero-days like this are typically used in targeted, high-value attacks:

  • Watering hole attacks: Compromising websites visited by high-value targets (government contractors, journalists, activists)
  • Spear phishing: Sending targeted emails with malicious links
  • Drive-by compromise: Embedding exploits on ad networks or compromised legitimate sites

The simultaneous discovery of two Firefox zero-days (CVE-2022-26485 + CVE-2022-26486) in the same emergency release, both with confirmed in-the-wild exploitation, suggests a coordinated threat actor who had developed and was actively using a Firefox exploit chain.

Remediation

  1. Update Firefox immediately: Install Firefox 97.0.2 or ESR 91.6.1. Firefox auto-updates by default — verify the current version in Help > About Firefox.
  2. Update Thunderbird: Install Thunderbird 91.6.2 if using Thunderbird, as it shares the vulnerable engine.
  3. Enable automatic updates: Ensure Firefox auto-updates are enabled (default) to receive future emergency patches promptly.
  4. Enterprise deployment: Use browser management tools (Intune, SCCM, MDM) to push emergency updates to all managed endpoints. Do not wait for scheduled patch cycles for browser zero-days with active exploitation.
  5. Consider Firefox ESR for enterprise: Firefox Extended Support Release (ESR) receives security patches on a delayed schedule but provides more predictable update windows for enterprises.

Key Details

PropertyValue
CVE ID CVE-2022-26486
Vendor / Product Mozilla — Firefox
NVD Published2022-12-22
NVD Last Modified2025-11-04
CVSS 3.1 Score9.6
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-416 find similar ↗
CISA KEV Added2022-03-07
CISA KEV Deadline2022-03-21
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-03-21. Apply updates per vendor instructions.

Timeline

DateEvent
2022-03-05Mozilla released Firefox 97.0.2 / ESR 91.6.1 with emergency fix
2022-03-07Added to CISA Known Exploited Vulnerabilities catalog
2022-03-21CISA BOD 22-01 remediation deadline
2022-12-22CVE formally published to NVD

References

ResourceType
NVD — CVE-2022-26486 Vulnerability Database
CISA KEV Catalog Entry US Government
Mozilla Foundation Security Advisory 2022-09 Vendor Advisory