CVE-2021-23981 Memory corruption in Firefox

High 8.1 Published Updated

A WebGL texture upload flaw in Firefox and Thunderbird allows attackers to cause memory corruption, leading to information leaks or crashes.

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-2021-23981?

CVE-2021-23981 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 31 Mar 2021. 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

A texture upload of a Pixel Buffer Object could have confused the WebGL code to skip binding the buffer used to unpack it, resulting in memory corruption and a potentially exploitable information leak or crash. This vulnerability affects Firefox ESR < 78.9, Firefox < 87, and Thunderbird < 78.9.

Weakness: CWE-787

Which versions are affected by CVE-2021-23981?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2021-23981?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-23981 being exploited?

There is no known exploitation of CVE-2021-23981 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-23981, GHSA-6hwg-29mr-qgf8, UBUNTU-CVE-2021-23981.

Is CVE-2021-23981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free