CVE-2025-0240: Compartment mismatch when parsing JavaScript JSON module
Vulnerability summary
CVE-2025-0240 is a medium (CVSS 4.0) Use After Free vulnerability in mozilla firefox. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 53.4% of scored vulnerabilities.
Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 33 · Related 11Timeline
- 07-01-2025PublishedVulnerability first disclosed.
- 13-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.67% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu9 products
- firefox< 134.0+build1-0ubuntu0.20.04.1
- mozjs102All versions (No fix recorded)
- mozjs115All versions (No fix recorded)
- mozjs38All versions (No fix recorded)
- mozjs52All versions (No fix recorded)
Chainguard2 products
- firefox< 134.0-r0
- firefox-esr< 128.6.0-r0
Debian2 products
- firefox-esr< 128.6.0esr-1~deb12u1 | < 128.6.0esr-1
- thunderbird< 1:128.6.0esr-1~deb12u1 | < 1:128.6.0esr-1
Mozilla2 products
- firefox< 128.6.0 | < 134.0
- thunderbird< 128.6.0 | ≥ 129.0, < 134.0
Wolfi1 product
- firefox< 134.0-r0
5 vendors · 16 products