# CVE-2025-0240: Compartment mismatch when parsing JavaScript JSON module

- Severity: Medium 4.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2025-01-07T16:07:06.551Z
- Modified: 2026-10-05T15:10:00.590Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mozilla

## Description

Parsing a JavaScript module as JSON could, under some circumstances, cause cross-compartment access, which may result in a use-after-free. This vulnerability was fixed in Firefox 134, Firefox ESR 128.6, Thunderbird 134, and Thunderbird 128.6.

(As written by CVE List.)

## Affected

- Mozilla Firefox: before 128.6.0; before 134.0 (not affected: from 128.6 up to 128.*; from 134 up to *)
- Mozilla Thunderbird: before 128.6.0; from 129.0 before 134.0 (not affected: from 128.6 up to 128.*; from 134 up to *)

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1929623> (issue-tracking, permissions-required)
- <https://www.mozilla.org/security/advisories/mfsa2025-01/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-02/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-04/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-05/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00004.html>

## Sources

- CVE List: [CVE-2025-0240](https://www.cve.org/CVERecord?id=CVE-2025-0240), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2025-0240](https://nvd.nist.gov/vuln/detail/CVE-2025-0240), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2025-0240 · Whole record: https://cve.day/CVE-2025-0240.json · Rebuilt by cve.day 2026-11-25T22:58:53.143Z
