CVE-2025-3031: JIT optimization bug with different stack slot sizes
An attacker could read 32 bits of values spilled onto the stack in a JIT compiled function.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Thunderbirdto a version that resolves this vulnerability.Fixed in 137 - Upgrade
Upgrade
Firefoxto a version that resolves this vulnerability.Fixed in 137
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2025-3031?
CVE-2025-3031 is considered a moderate severity vulnerability that allows an attacker to read sensitive data from the stack.
How do I fix CVE-2025-3031?
To fix CVE-2025-3031, upgrade Firefox or Thunderbird to version 137 or later.
What versions are affected by CVE-2025-3031?
CVE-2025-3031 affects Firefox versions earlier than 137 and Thunderbird versions earlier than 137.
What types of attacks can exploit CVE-2025-3031?
An attacker can exploit CVE-2025-3031 to read 32 bits of values that are spilled onto the stack in JIT compiled functions.
Is there a workaround for CVE-2025-3031?
There is no known workaround for CVE-2025-3031, so updating to the latest versions is recommended.