Vulnerability · Published Jul 22, 2025 · Assigned by mozilla
CVE-2025-8040Memory safety bugs fixed in Firefox ESR 140.1, Thunderbird ESR 140.1, Firefox 141 and Thunderbird 141
High 8.8
In plain English
A high-severity memory corruption in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2025-8040 |
| Ubuntu:24.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2025-8040 |
| Ubuntu:24.04:LTS | mozjs115 | no fix listed | UBUNTU-CVE-2025-8040 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2025-8040 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2025-8040 |
| Ubuntu:22.04:LTS | thunderbird | 1:140.7.1+build1-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-8040 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | see references |
| Mozilla | Thunderbird | see references |
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Memory safety bugs fixed in Firefox ESR 140.1, Thunderbird ESR 140.1, Firefox 141 and Thunderbird 141
- https://www.mozilla.org/security/advisories/mfsa2025-56/
- https://www.mozilla.org/security/advisories/mfsa2025-59/
- https://www.mozilla.org/security/advisories/mfsa2025-61/
- https://www.mozilla.org/security/advisories/mfsa2025-63/