CVE-2022-40961 Memory corruption in Firefox

Medium 6.5 Published Updated

A stack-buffer overflow in the graphics driver during startup allows attackers to cause a crash or potentially execute code on Firefox for Android.

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-2022-40961?

CVE-2022-40961 is a medium-severity memory corruption vulnerability in Mozilla Firefox, published on 22 Dec 2022. 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

During startup, a graphics driver with an unexpected name could lead to a stack-buffer overflow causing a potentially exploitable crash.<br>*This issue only affects Firefox for Android. Other operating systems are not affected.*. This vulnerability affects Firefox < 105.

Weakness: CWE-787

Which versions are affected by CVE-2022-40961?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2022-40961?

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-2022-40961 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-7526-6xhc-xh2w.

Is CVE-2022-40961 in your software?

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

Check your SBOMs for free