CVE-2023-25738 Memory corruption in Firefox
An out-of-bounds access vulnerability in Firefox on Windows allows attackers to potentially execute arbitrary code or cause a crash via malicious printer driver data.
- 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-25738?
CVE-2023-25738 is a medium-severity memory corruption vulnerability in Mozilla Firefox, published on 2 Jun 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
Members of the <code>DEVMODEW</code> struct set by the printer device driver weren't being validated and could have resulted in invalid values which in turn would cause the browser to attempt out of bounds access to related variables.<br>*This bug only affects Firefox on Windows. Other operating systems are unaffected.*. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.
Weakness: CWE-125
Which versions are affected by CVE-2023-25738?
It affects 3 products.
Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.
How do I fix CVE-2023-25738?
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-2023-25738 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25738 exists.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-5wxj-v52j-4fmh.