CVE-2021-4128 Use after free in Firefox
A use-after-free vulnerability in Firefox on macOS allows attackers to cause memory corruption and potentially execute code via fullscreen transitions.
- 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
- None listed
What is CVE-2021-4128?
CVE-2021-4128 is a medium-severity use after free 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
When transitioning in and out of fullscreen mode, a graphics object was not correctly protected; resulting in memory corruption and a potentially exploitable crash.<br>*This bug only affects Firefox on MacOS. Other operating systems are unaffected.*. This vulnerability affects Firefox < 95.
Weakness: CWE-416
Which versions are affected by CVE-2021-4128?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2021-4128?
No fix has been published for CVE-2021-4128 yet. Limit exposure of the affected software until one is available.
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-2021-4128 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4128 exists.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-qx74-qh3q-h8rj.