CVE-2023-5172 Use after free in Firefox

Critical 9.8 Published Updated

A use-after-free vulnerability in the Firefox Ion Engine allows attackers to execute arbitrary code or cause a crash via a mutated hashtable.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5172?

CVE-2023-5172 is a critical use after free vulnerability in Mozilla Firefox, published on 27 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A hashtable in the Ion Engine could have been mutated while there was a live interior reference, leading to a potential use-after-free and exploitable crash. This vulnerability affects Firefox < 118.

Weakness: CWE-416

Which versions are affected by CVE-2023-5172?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2023-5172?

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-2023-5172 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-gg89-f9mq-2rw9, UBUNTU-CVE-2023-5172.

Is CVE-2023-5172 in your software?

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

Check your SBOMs for free