CVE-2026-2795 Use-after-free in the JavaScript: GC component
A use-after-free flaw in the JavaScript garbage collector allows attackers to execute arbitrary code, requiring users to upgrade to Firefox 148.
- 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-2795?
CVE-2026-2795 is a high-severity use after free vulnerability in Mozilla Firefox, published on 24 Feb 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
Use-after-free in the JavaScript: GC component. This vulnerability was fixed in Firefox 148 and Thunderbird 148.
Weakness: CWE-416
Which versions are affected by CVE-2026-2795?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2026-2795?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-2795 being exploited?
There is no known exploitation of CVE-2026-2795 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-8g7m-g6r7-rqcp, UBUNTU-CVE-2026-2795.