CVE-2022-31745 Memory corruption in Firefox

Medium 4.3 Published Updated

A garbage collector confusion issue in Firefox allows attackers to potentially execute arbitrary code via crafted web content.

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-31745?

CVE-2022-31745 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

If array shift operations are not used, the Garbage Collector may have become confused about valid objects. This vulnerability affects Firefox < 101.

Weakness: CWE-129

Which versions are affected by CVE-2022-31745?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2022-31745?

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-31745 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31745 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-5hg4-mc2h-m4mm, UBUNTU-CVE-2022-31745.

Is CVE-2022-31745 in your software?

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

Check your SBOMs for free