Skip to main content
EPSS 0.3%top 76%

CVE-2025-8040: Vulnerability in Mozilla Firefox

0
High
VulnerabilityCVE-2025-8040cvecve-2025-8040
Published: 07/22/2025 (07/22/2025, 20:49:28 UTC)
Source: CVE Database V5
Vendor/Project: Mozilla
Product: Firefox

Description

Memory safety bugs present in Firefox ESR 140.0, Thunderbird ESR 140.0, Firefox 140 and Thunderbird 140. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox 141, Firefox ESR 140.1, Thunderbird 141, and Thunderbird 140.1.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
mozilla/firefox
pkg:github/mozilla/firefox
Affected versions
=140=140.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 11:54:33 UTC

Technical Analysis

Memory safety bugs were identified in Firefox ESR 140.0, Thunderbird ESR 140.0, Firefox 140, and Thunderbird 140, some showing evidence of memory corruption. These bugs could potentially allow an attacker to execute arbitrary code with user interaction. Mozilla addressed these issues by releasing fixes in Firefox 141, Firefox ESR 140.1, Thunderbird 141, and Thunderbird ESR 140.1. The vulnerability is tracked as CVE-2025-8040 and is associated with CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The CVSS v3.1 base score is 8.8, with vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this vulnerability could lead to arbitrary code execution in the context of the affected Firefox or Thunderbird processes. This could compromise the confidentiality, integrity, and availability of the affected system. The vulnerability is rated high severity with a CVSS score of 8.8. There are no reports of known exploits in the wild at this time.

Mitigation Recommendations

Mozilla has released official fixes for this vulnerability in Firefox 141, Firefox ESR 140.1, Thunderbird 141, and Thunderbird ESR 140.1. Users and administrators should promptly update to these versions to remediate the vulnerability. Patch status is confirmed by the vendor advisory. No additional mitigation steps are required beyond applying the official updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mozilla
Date Reserved
2025-07-22T10:14:10.587Z
State
PUBLISHED

Threat ID: 687ffd51a915ff00f7fb59cd

Added to database: 07/22/2025, 21:06:25 UTC

Last enriched: 04/14/2026, 11:54:33 UTC

Last updated: 09/10/2026, 19:36:52 UTC

Views: 208

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses