CVE-2025-3031

JIT optimization bug with different stack slot sizes

Published Apr 1, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An attacker can read 32‑bit values that are inadvertently written to the stack by a JIT‑compiled function. The read exposes data stored in those stack slots, potentially leaking sensitive runtime information. The vulnerability is categorized as CWE‑200 (Information Exposure) and CWE‑203 (Improper Assertion of Security-relevant Data).

Affected Systems

Mozilla Firefox and Mozilla Thunderbird versions before 137 are affected. The fix is included in Firefox 137 and Thunderbird 137, so any release prior to those versions is potentially vulnerable.

Risk and Exploitability

The CVSS score is 6.5, indicating moderate severity. EPSS is below 1 %, showing a very low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploits. The attack requires execution of malicious code that triggers a JIT‑compiled function, such as a crafted webpage or email attachment executed in the target application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mozilla Firefox to version 137 or later and Mozilla Thunderbird to version 137 or later to apply the JIT optimization fix.
  • If an upgrade cannot be performed immediately, isolate the vulnerable applications by restricting them to run only trusted content or disabling script execution that would trigger JIT compilation.
  • Enable logging and monitoring for JIT‑compiled activity to detect anomalous stack‑reading patterns and investigate any suspicious behavior.

Generated by OpenCVE AI on April 21, 2026 at 21:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-9301 An attacker could read 32 bits of values spilled onto the stack in a JIT compiled function. This vulnerability affects Firefox < 137 and Thunderbird < 137.
Ubuntu USN Ubuntu USN USN-7991-1 Thunderbird vulnerabilities
History
Type Values Removed Values Added
Description An attacker could read 32 bits of values spilled onto the stack in a JIT compiled function. This vulnerability affects Firefox < 137 and Thunderbird < 137. 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.
Title firefox: thunderbird: JIT optimization bug with different stack slot sizes JIT optimization bug with different stack slot sizes
Type Values Removed Values Added
First Time appeared Mozilla
Mozilla firefox
Mozilla thunderbird
CPEs cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:*
Vendors & Products Mozilla
Mozilla firefox
Mozilla thunderbird
Type Values Removed Values Added
Title firefox: thunderbird: JIT optimization bug with different stack slot sizes
Weaknesses CWE-203
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-200
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An attacker could read 32 bits of values spilled onto the stack in a JIT compiled function. This vulnerability affects Firefox < 137 and Thunderbird < 137.
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-203

    Observable Discrepancy

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Apr 13, 2026, 2:29 PM
Reserved
Mar 31, 2025, 9:35 AM
Status
Modified
Published
Apr 1, 2025, 1:15 PM
Modified
Sep 30, 2026, 6:10 PM
Severity
Moderate
Public date
Apr 1, 2025, 12:29 PM