CVE-2025-4918: Out-of-bounds access when resolving Promise objects in Mozilla Firefox
An attacker was able to perform an out-of-bounds read or write on a JavaScript `Promise` object. This vulnerability affects Firefox < 138.0.4, Firefox ESR < 128.10.1, Firefox ESR < 115.23.1, Thunderbird < 128.10.2, and Thunderbird < 138.0.2.
AI Analysis
Technical Summary
CVE-2025-4918 is a critical security vulnerability identified in Mozilla Firefox and Thunderbird products, specifically affecting Firefox versions earlier than 138.0.4 and Thunderbird versions earlier than 138.0.2. The vulnerability stems from an out-of-bounds (OOB) memory access during the resolution of JavaScript Promise objects, a fundamental asynchronous programming construct in JavaScript. The flaw allows an attacker to perform either an out-of-bounds read or write, which can corrupt memory, potentially leading to arbitrary code execution, information disclosure, or denial of service. The vulnerability is classified under CWE-125 (Out-of-bounds Read) and CWE-787 (Out-of-bounds Write), indicating improper bounds checking in memory operations. The CVSS v3.1 base score is 9.8 (critical), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, meaning the attack can be executed remotely over the network without any privileges or user interaction, and it impacts confidentiality, integrity, and availability at a high level. Although no exploits have been reported in the wild yet, the vulnerability's nature and severity make it a prime target for attackers. The flaw affects core components of Firefox and Thunderbird that handle JavaScript execution, making it a significant risk for all users of these products. The vulnerability was publicly disclosed on May 17, 2025, and patches are expected or should be applied promptly once available.
Potential Impact
The impact of CVE-2025-4918 is severe and wide-ranging. Successful exploitation can lead to arbitrary code execution within the context of the browser or email client, allowing attackers to execute malicious payloads, steal sensitive data, or manipulate browser behavior. Confidentiality is compromised as attackers may read sensitive memory contents, including user credentials or session tokens. Integrity is at risk due to potential memory corruption, which could alter program execution flow or data. Availability can be affected through crashes or denial-of-service conditions triggered by malformed Promise objects. Since the vulnerability requires no privileges or user interaction and can be exploited remotely via crafted web content or email, the attack surface is broad. Organizations relying on Firefox or Thunderbird for web browsing or email communications face significant risks, including data breaches, espionage, and disruption of services. The vulnerability also poses risks to end users, potentially enabling drive-by downloads or persistent malware infections.
Mitigation Recommendations
Organizations and users should immediately update affected Mozilla Firefox and Thunderbird installations to versions 138.0.4 or later for Firefox and 138.0.2 or later for Thunderbird once patches are released. Until patches are available, consider disabling JavaScript execution in untrusted contexts or using script-blocking browser extensions such as NoScript to limit exposure to malicious Promise objects. Employ network-level protections like web filtering and intrusion detection systems to block or alert on suspicious payloads targeting this vulnerability. Regularly audit and monitor browser and email client logs for unusual activity indicative of exploitation attempts. For enterprise environments, enforce strict update policies and consider sandboxing browsers and email clients to contain potential exploits. Additionally, educate users about the risks of visiting untrusted websites or opening suspicious emails, as these are common vectors for exploitation. Finally, maintain backups and incident response plans to quickly recover from potential breaches.
Affected Countries
United States, Germany, United Kingdom, France, Canada, Australia, Japan, South Korea, Brazil
CVE-2025-4918: Out-of-bounds access when resolving Promise objects in Mozilla Firefox
Description
An attacker was able to perform an out-of-bounds read or write on a JavaScript `Promise` object. This vulnerability affects Firefox < 138.0.4, Firefox ESR < 128.10.1, Firefox ESR < 115.23.1, Thunderbird < 128.10.2, and Thunderbird < 138.0.2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-4918 is a critical security vulnerability identified in Mozilla Firefox and Thunderbird products, specifically affecting Firefox versions earlier than 138.0.4 and Thunderbird versions earlier than 138.0.2. The vulnerability stems from an out-of-bounds (OOB) memory access during the resolution of JavaScript Promise objects, a fundamental asynchronous programming construct in JavaScript. The flaw allows an attacker to perform either an out-of-bounds read or write, which can corrupt memory, potentially leading to arbitrary code execution, information disclosure, or denial of service. The vulnerability is classified under CWE-125 (Out-of-bounds Read) and CWE-787 (Out-of-bounds Write), indicating improper bounds checking in memory operations. The CVSS v3.1 base score is 9.8 (critical), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, meaning the attack can be executed remotely over the network without any privileges or user interaction, and it impacts confidentiality, integrity, and availability at a high level. Although no exploits have been reported in the wild yet, the vulnerability's nature and severity make it a prime target for attackers. The flaw affects core components of Firefox and Thunderbird that handle JavaScript execution, making it a significant risk for all users of these products. The vulnerability was publicly disclosed on May 17, 2025, and patches are expected or should be applied promptly once available.
Potential Impact
The impact of CVE-2025-4918 is severe and wide-ranging. Successful exploitation can lead to arbitrary code execution within the context of the browser or email client, allowing attackers to execute malicious payloads, steal sensitive data, or manipulate browser behavior. Confidentiality is compromised as attackers may read sensitive memory contents, including user credentials or session tokens. Integrity is at risk due to potential memory corruption, which could alter program execution flow or data. Availability can be affected through crashes or denial-of-service conditions triggered by malformed Promise objects. Since the vulnerability requires no privileges or user interaction and can be exploited remotely via crafted web content or email, the attack surface is broad. Organizations relying on Firefox or Thunderbird for web browsing or email communications face significant risks, including data breaches, espionage, and disruption of services. The vulnerability also poses risks to end users, potentially enabling drive-by downloads or persistent malware infections.
Mitigation Recommendations
Organizations and users should immediately update affected Mozilla Firefox and Thunderbird installations to versions 138.0.4 or later for Firefox and 138.0.2 or later for Thunderbird once patches are released. Until patches are available, consider disabling JavaScript execution in untrusted contexts or using script-blocking browser extensions such as NoScript to limit exposure to malicious Promise objects. Employ network-level protections like web filtering and intrusion detection systems to block or alert on suspicious payloads targeting this vulnerability. Regularly audit and monitor browser and email client logs for unusual activity indicative of exploitation attempts. For enterprise environments, enforce strict update policies and consider sandboxing browsers and email clients to contain potential exploits. Additionally, educate users about the risks of visiting untrusted websites or opening suspicious emails, as these are common vectors for exploitation. Finally, maintain backups and incident response plans to quickly recover from potential breaches.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mozilla
- Date Reserved
- 2025-05-17T19:40:51.300Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0f71484d88663aeb1a9
Added to database: 5/20/2025, 6:59:03 PM
Last enriched: 2/26/2026, 9:57:17 PM
Last updated: 3/26/2026, 8:41:34 AM
Views: 79
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.