Safeguard
Vulnerability Analysis•

CVE-2026-2787: Use-After-Free in Firefox Window and Location

CVE-2026-2787 is a critical Firefox and Thunderbird flaw in DOM: Window and Location. Update to Firefox 148, ESR 140.8 or Thunderbird 148 and restart.

Safeguard Security Team
3 min read

CVE-2026-2787 is a critical flaw (CVSS 9.8) in the DOM: Window and Location component of Firefox and Thunderbird. Mozilla announced the fix on 24 February 2026 in Firefox 148, Firefox ESR 115.33, Firefox ESR 140.8, Thunderbird 148 and Thunderbird 140.8. Update to those releases or later. The record does not mark it as a CISA Known Exploited Vulnerability.

What's affected

Firefox and Thunderbird builds older than the fixed releases. Mozilla fixed this issue in Firefox 148, Firefox ESR 115.33, Firefox ESR 140.8, Thunderbird 148 and Thunderbird 140.8.

NVD scores it 9.8 (Critical). Mozilla's own advisory rates the issue moderate. Both numbers are worth knowing: the NVD vector assumes a network attack with no privileges, while the vendor rating reflects how Mozilla weighs it for a browser.

How to check if you're exposed

Check the version you run against the fixed releases.

  • Firefox: open the menu, choose Help, then About Firefox. The dialog shows the version and checks for an update.
  • Thunderbird: open Help, then About Thunderbird.

From a terminal, on systems where the binaries are on your path:

firefox --version
thunderbird --version

Linux distributions often ship fixes under their own package versions. If you install from a distribution repository, check your distributor's security notice for this CVE instead of comparing version numbers by eye. In a managed fleet, look at your software inventory for Firefox and Thunderbird builds below the fixed releases.

What to do now

  1. Update Firefox and Thunderbird to Firefox 148 or later on your release channel, or to the matching ESR release.
  2. On managed desktops, push the update through your normal software deployment tool and confirm the installed versions afterwards.
  3. Restart both applications. A browser that has downloaded an update keeps running the old code until it restarts.
  4. Check the advisory for your exact branch if you run an ESR or a distribution package.

Why it matters

A use-after-free means code keeps using memory after it was released, so the memory may have been reused for something else by then. NVD files it under CWE-416 (Use After Free). These bugs are a long running source of browser fixes, and the advisory publishes no more than the component name.

Browsers and mail clients process content from outside your organisation all day, so a fix in either is worth rolling out quickly even when the vendor's rating is lower than the NVD score.

Quick check

Is CVE-2026-2787 being exploited?

The record does not mark it as a CISA Known Exploited Vulnerability, and the Mozilla advisories we read do not describe attacks against it. That can change, so check the Gold page for CVE-2026-2787 when you plan the rollout.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.