CVE-2025-3031 JIT optimization bug with different stack slot sizes
An attacker can read 32 bits of stack data via a JIT optimization bug in Firefox and Thunderbird, potentially exposing sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-3031?
CVE-2025-3031 is a medium-severity vulnerability in Mozilla Firefox, published on 1 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An attacker could read 32 bits of values spilled onto the stack in a JIT compiled function. This vulnerability was fixed in Firefox 137 and Thunderbird 137.
Weakness: CWE-200
Which versions are affected by CVE-2025-3031?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2025-3031?
Upgrade to a fixed version.
Is CVE-2025-3031 being exploited?
There is no known exploitation of CVE-2025-3031 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-5v8r-67h5-p4jj, UBUNTU-CVE-2025-3031.