CVE-2025-8040: Memory safety bugs fixed in Firefox ESR 140.1, Thunderbird ESR 140.1, Firefox 141 and Thunderbird 141

Published Jul 22, 2025
·
Updated

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.

Affected Software

8 affected componentsFixes available
Mozilla Firefox<141
141
Mozilla Firefox ESR<140.1
140.1
Mozilla Thunderbird<141
141
Mozilla Thunderbird<140.1
140.1
Mozilla Firefox<140.1
Mozilla Firefox<141.0
Mozilla Thunderbird<140.1
Mozilla Thunderbird<141.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 140.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 141
  3. Upgrade

    Upgrade Mozilla Firefox ESR to a version that resolves this vulnerability.

    Fixed in 140.1
  4. Upgrade

    Upgrade Mozilla Thunderbird ESR to a version that resolves this vulnerability.

    Fixed in 140.1
  5. Upgrade

    Upgrade Mozilla Firefox to a version that resolves this vulnerability.

    Fixed in 141
  6. Upgrade

    Upgrade Mozilla Thunderbird to a version that resolves this vulnerability.

    Fixed in 141

Event History

Jul 22, 2025
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Updated
via Mozilla·12:00 AM
Affected Software
CVE Published
via MITRE·08:49 PM
Data Sourced
via MITRE·08:49 PM
Description
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-8040?

CVE-2025-8040 has a high severity due to the potential for exploitation leading to arbitrary code execution.

2

How do I fix CVE-2025-8040?

To resolve CVE-2025-8040, upgrade to Firefox version 141 or Thunderbird version 140.1.

3

What products are affected by CVE-2025-8040?

CVE-2025-8040 affects Firefox ESR 140.0, Thunderbird ESR 140.0, Firefox 140, and Thunderbird 140.

4

What types of bugs are present in CVE-2025-8040?

CVE-2025-8040 includes memory safety bugs that may lead to memory corruption.

5

Can CVE-2025-8040 be exploited remotely?

Yes, with sufficient effort, the memory corruption issues in CVE-2025-8040 could potentially be exploited to run arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203