CVE-2023-5174 Use after free in Firefox
A use-after-free in Firefox on Windows under non-standard configurations allows attackers to cause a crash or potentially execute code.
- 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-5174?
CVE-2023-5174 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
If Windows failed to duplicate a handle during process creation, the sandbox code may have inadvertently freed a pointer twice, resulting in a use-after-free and a potentially exploitable crash. *This bug only affects Firefox on Windows when run in non-standard configurations (such as using `runas`). Other operating systems are unaffected.* This vulnerability affects Firefox < 118, Firefox ESR < 115.3, and Thunderbird < 115.3.
Weakness: CWE-416
Which versions are affected by CVE-2023-5174?
It affects 3 products.
Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.
How do I fix CVE-2023-5174?
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-5174 being exploited?
There is no known exploitation of CVE-2023-5174 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-8fw2-629c-5885, UBUNTU-CVE-2023-5174.