CVE-2025-8027

JavaScript engine only wrote partial return value to stack

Published Jul 22, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
On 64-bit platforms IonMonkey-JIT only wrote 32 bits of the 64-bit return value space on the stack. Baseline-JIT, however, read the entire 64 bits. This vulnerability was fixed in Firefox 141, Firefox ESR 115.26, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbird 128.13, and Thunderbird 140.1.

Analysis

AI-generated

Technical impact

On 64‑bit platforms the IonMonkey JavaScript JIT writes only half of the 64‑bit return value onto the stack, while the baseline JIT reads the full 64 bits. This mismatch causes the return value that is read to not match what was written, potentially leading to inconsistent or incorrect behavior during script execution.

Affected Systems

The issue affects Mozilla Firefox and Thunderbird running on 64‑bit operating systems. Versions before the security updates are impacted: Firefox 141 and earlier, as well as the Firefox ESR releases 115.26, 128.13, and 140.1; and Thunderbird 141 and earlier, together with the Thunderbird ESR releases 128.13 and 140.1.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, and an EPSS score of < 1 % suggests a very low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Likely attackers would need to inject or execute malicious JavaScript within the browser or mail client to trigger the IonMonkey JIT’s truncated write. No publicly disclosed exploits are available for this issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Firefox to 141 or a later ESR release (115.26, 128.13, 140.1) and upgrade Thunderbird to 141 or a later ESR release (128.13, 140.1).
  • Restart the updated browsers or mail client to ensure the patched binaries are running.
  • Restrict or disable third‑party extensions or scripts that inject JavaScript until the update is applied.

Generated by OpenCVE AI on April 22, 2026 at 01:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4250-1 firefox-esr security update
Debian DLA Debian DLA DLA-4253-1 thunderbird security update
Debian DSA Debian DSA DSA-5964-1 firefox-esr security update
Debian DSA Debian DSA DSA-5966-1 thunderbird security update
EUVD EUVD EUVD-2025-22372 On 64-bit platforms IonMonkey-JIT only wrote 32 bits of the 64-bit return value space on the stack. Baseline-JIT, however, read the entire 64 bits. This vulnerability affects Firefox < 141, Firefox ESR < 115.26, Firefox ESR < 128.13, Firefox ESR < 140.1, Thunderbird < 141, Thunderbird < 128.13, and Thunderbird < 140.1.
Ubuntu USN Ubuntu USN USN-7991-1 Thunderbird vulnerabilities
History
Type Values Removed Values Added
Description On 64-bit platforms IonMonkey-JIT only wrote 32 bits of the 64-bit return value space on the stack. Baseline-JIT, however, read the entire 64 bits. This vulnerability affects Firefox < 141, Firefox ESR < 115.26, Firefox ESR < 128.13, Firefox ESR < 140.1, Thunderbird < 141, Thunderbird < 128.13, and Thunderbird < 140.1. On 64-bit platforms IonMonkey-JIT only wrote 32 bits of the 64-bit return value space on the stack. Baseline-JIT, however, read the entire 64 bits. This vulnerability was fixed in Firefox 141, Firefox ESR 115.26, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbird 128.13, and Thunderbird 140.1.
Type Values Removed Values Added
Title firefox: thunderbird: JavaScript engine only wrote partial return value to stack JavaScript engine only wrote partial return value to stack
Type Values Removed Values Added
Title firefox: thunderbird: JavaScript engine only wrote partial return value to stack
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10.0
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
CPEs cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*
cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:-:*:*:*
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:esr:*:*:*
Type Values Removed Values Added
First Time appeared Mozilla
Mozilla firefox
Mozilla firefox Esr
Mozilla thunderbird
Vendors & Products Mozilla
Mozilla firefox
Mozilla firefox Esr
Mozilla thunderbird
Type Values Removed Values Added
Weaknesses CWE-457
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description On 64-bit platforms IonMonkey-JIT only wrote 32 bits of the 64-bit return value space on the stack. Baseline-JIT, however, read the entire 64 bits. This vulnerability affects Firefox < 141, Firefox ESR < 115.26, Firefox ESR < 128.13, Firefox ESR < 140.1, Thunderbird < 141, Thunderbird < 128.13, and Thunderbird < 140.1.
References
Weaknesses
  • CWE-457

    Use of Uninitialized Variable

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Apr 13, 2026, 2:26 PM
Reserved
Jul 22, 2025, 10:13 AM
Status
Modified
Published
Jul 22, 2025, 9:15 PM
Modified
Oct 5, 2026, 3:10 PM
Severity
Important
Public date
Jul 22, 2025, 8:49 PM