CVE-2022-38475 Memory corruption in Firefox
An attacker could write to the first element of a zero-length JavaScript array, potentially leading to memory corruption and code execution in Firefox.
- 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-38475?
CVE-2022-38475 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
An attacker could have written a value to the first element in a zero-length JavaScript array. Although the array was zero-length, the value was not written to an invalid memory address. This vulnerability affects Firefox < 104.
Weakness: CWE-863
Which versions are affected by CVE-2022-38475?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2022-38475?
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-38475 being exploited?
There is no known exploitation of CVE-2022-38475 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-vwhh-g8g6-6pf7, UBUNTU-CVE-2022-38475.