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

- Priority: **Routine**
- Reason: Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-07 · Modified: 2026-04-13
- Aliases: UBUNTU-CVE-2025-0240, DEBIAN-CVE-2025-0240, CGA-63mh-8qff-mc2f, CGA-9cg2-9vgw-jq8q, CGA-6m68-hrgq-mvpg, CGA-h6cw-v9f5-3mx3
- Record: https://cvemate.com/vulnerability/CVE-2025-0240 · JSON: https://cvemate.com/vulnerability/CVE-2025-0240/json

## Description

```text
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.
```

## Signals

- CVSS: 4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.673%, percentile 53.493%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard firefox (Chainguard): \< 134.0-r0
- chainguard firefox-esr (Chainguard): \< 128.6.0-r0
- wolfi firefox (Wolfi): \< 134.0-r0
- debian firefox-esr (Debian): \< 128.6.0esr-1~deb12u1 \| \< 128.6.0esr-1
- debian thunderbird (Debian): \< 1:128.6.0esr-1~deb12u1 \| \< 1:128.6.0esr-1
- ubuntu firefox (Ubuntu): \< 134.0+build1-0ubuntu0.20.04.1
- ubuntu mozjs102 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs115 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs91 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): \< 1:140.7.1+build1-0ubuntu0.22.04.1
- mozilla firefox: \< 128.6.0 \| \< 134.0
- mozilla thunderbird: \< 128.6.0 \| ≥ 129.0, \< 134.0

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1929623>
- <https://www.mozilla.org/security/advisories/mfsa2025-01/>
- <https://www.mozilla.org/security/advisories/mfsa2025-02/>
- <https://www.mozilla.org/security/advisories/mfsa2025-04/>
- <https://www.mozilla.org/security/advisories/mfsa2025-05/>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00004.html>
- <https://ubuntu.com/security/CVE-2025-0240>
- <https://www.cve.org/CVERecord?id=CVE-2025-0240>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-01/#CVE-2025-0240>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-02/#CVE-2025-0240>
- <https://ubuntu.com/security/notices/USN-7191-1>
- <https://ubuntu.com/security/notices/USN-7991-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-0240>

---

Data as of 2026-12-05T04:36:42.193Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
