CVE-2023-5171 Use after free in Firefox

Medium 6.5 Published Updated

A use-after-free in Firefox's Ion compiler allows attackers to write NUL bytes, potentially causing crashes or code execution.

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-2023-5171?

CVE-2023-5171 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 27 Sep 2023. 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 Ion compilation, a Garbage Collection could have resulted in a use-after-free condition, allowing an attacker to write two NUL bytes, and cause a potentially exploitable crash. This vulnerability affects Firefox < 118, Firefox ESR < 115.3, and Thunderbird < 115.3.

Weakness: CWE-416

Which versions are affected by CVE-2023-5171?

It affects 5 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2023-5171?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-5171, GHSA-v567-j6g5-phvx, UBUNTU-CVE-2023-5171.

Is CVE-2023-5171 in your software?

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

Check your SBOMs for free