CVE-2025-0240
Medium · 4.0CVSS
4.0
EPSS
0.7%
Published
Jan 7, 2025
CISA due date
—
Cloudanix analysis
A problem in popular web browsers and email programs could let someone with physical access to a computer cause limited memory issues that might affect how the programs run.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Parsing a JavaScript module as JSON can trigger cross-compartment access that leads to a use-after-free condition in memory handling.
Why it matters to the business
Attackers with local access may corrupt memory or alter limited program behavior, potentially causing instability or partial data manipulation in browser and email client sessions.
How an attack unfolds
An attacker crafts a malicious JavaScript module file that, when parsed as JSON under specific conditions, violates compartment boundaries and triggers a use-after-free; the flaw requires local execution and has not been observed in active campaigns.
How to fix it
Upgrade Mozilla Firefox to version 134 or later, Firefox ESR to 128.6 or later, Thunderbird to 134 or later, and Thunderbird ESR to 128.6 or later.
How to confirm the fix worked
Confirm installed product versions meet or exceed the fixed releases and re-test parsing of JavaScript modules as JSON in isolated environments.
Typical attack path
- Place a specially crafted JavaScript module file on a system accessible to the victim application.
- Trigger parsing of the file as JSON through normal application workflows or local invocation.
- Exploit the resulting cross-compartment access to trigger use-after-free.
- Leverage the freed memory for limited integrity impact such as data modification.
How to detect it
Review application logs and crash reports for unexpected memory access errors during JavaScript module handling; no widespread exploitation indicators have been published.
What your security team should do
- Prioritize patching Firefox and Thunderbird installations to the fixed versions.
- Monitor vendor advisories for any subsequent updates or additional affected products.
- Apply application allow-listing or sandboxing where local execution of untrusted modules is a concern.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | firefox | 0 | 128.6.0-1.el8_10 |
| AlmaLinux:9 | firefox | 0 | 128.6.0-1.el9_5 |
| AlmaLinux:9 | firefox-x11 | 0 | 128.6.0-1.el9_5 |
| Chainguard | firefox | 0 | 134.0-r0 |
| Chainguard | firefox-esr | 0 | 128.6.0-r0 |
| Debian:11 | firefox-esr | 0 | 128.6.0esr-1~deb11u3 |
| Debian:11 | thunderbird | 0 | 1:128.6.0esr-1~deb11u1 |
| Debian:12 | firefox-esr | 0 | 128.6.0esr-1~deb12u1 |
| Debian:12 | thunderbird | 0 | 1:128.6.0esr-1~deb12u1 |
| Debian:13 | firefox-esr | 0 | No fix |
| Debian:13 | thunderbird | 0 | 1:128.6.0esr-1 |
| Mageia:9 | firefox | 0 | 128.6.0-1.mga9 |
| Mageia:9 | firefox-l10n | 0 | 128.6.0-1.mga9 |
| Mageia:9 | thunderbird | 0 | 128.6.0-1.mga9 |
| Mageia:9 | thunderbird-l10n | 0 | 128.6.0-1.mga9 |
| Red Hat:enterprise_linux:8::appstream | firefox | 0 | 0:128.6.0-1.el8_10 |
| Red Hat:enterprise_linux:8::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_10 |
| Red Hat:enterprise_linux:8::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_10 |
| Red Hat:enterprise_linux:8::appstream | thunderbird | 0 | 0:128.6.0-3.el8_10 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_10 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_10 |
| Red Hat:enterprise_linux:9::appstream | firefox | 0 | 0:128.6.0-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | firefox-x11 | 0 | 0:128.6.0-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | thunderbird | 0 | 0:128.6.0-3.el9_5 |
| Red Hat:enterprise_linux:9::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el9_5 |
| Red Hat:enterprise_linux:9::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el9_5 |
| Red Hat:rhel_aus:8.2::appstream | firefox | 0 | 0:128.6.0-1.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | thunderbird | 0 | 0:128.6.0-3.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_2 |
| Red Hat:rhel_aus:8.2::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_2 |
| Red Hat:rhel_aus:8.4::appstream | firefox | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_aus:8.4::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_aus:8.4::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_aus:8.4::appstream | thunderbird | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_aus:8.4::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_aus:8.4::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_aus:8.6::appstream | firefox | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_aus:8.6::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_aus:8.6::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_aus:8.6::appstream | thunderbird | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_aus:8.6::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_aus:8.6::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_e4s:8.4::appstream | firefox | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_e4s:8.4::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_e4s:8.4::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_e4s:8.4::appstream | thunderbird | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_e4s:8.4::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_e4s:8.4::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_e4s:8.6::appstream | firefox | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_e4s:8.6::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_e4s:8.6::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_e4s:8.6::appstream | thunderbird | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_e4s:8.6::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_e4s:8.6::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_e4s:9.0::appstream | firefox | 0 | 0:128.6.0-1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | thunderbird | 0 | 0:128.6.0-3.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el9_0 |
| Red Hat:rhel_els:7 | firefox | 0 | 0:128.6.0-1.el7_9 |
| Red Hat:rhel_els:7 | firefox-debuginfo | 0 | 0:128.6.0-1.el7_9 |
| Red Hat:rhel_eus:8.8::appstream | firefox | 0 | 0:128.6.0-1.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | thunderbird | 0 | 0:128.6.0-3.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_8 |
| Red Hat:rhel_eus:9.2::appstream | firefox | 0 | 0:128.6.0-1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | firefox-x11 | 0 | 0:128.6.0-1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | thunderbird | 0 | 0:128.6.0-3.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el9_2 |
| Red Hat:rhel_eus:9.4::appstream | firefox | 0 | 0:128.6.0-1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | firefox-x11 | 0 | 0:128.6.0-1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | thunderbird | 0 | 0:128.6.0-3.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el9_4 |
| Red Hat:rhel_tus:8.4::appstream | firefox | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_tus:8.4::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_tus:8.4::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_4 |
| Red Hat:rhel_tus:8.4::appstream | thunderbird | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_tus:8.4::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_tus:8.4::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_4 |
| Red Hat:rhel_tus:8.6::appstream | firefox | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_tus:8.6::appstream | firefox-debuginfo | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_tus:8.6::appstream | firefox-debugsource | 0 | 0:128.6.0-1.el8_6 |
| Red Hat:rhel_tus:8.6::appstream | thunderbird | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_tus:8.6::appstream | thunderbird-debuginfo | 0 | 0:128.6.0-3.el8_6 |
| Red Hat:rhel_tus:8.6::appstream | thunderbird-debugsource | 0 | 0:128.6.0-3.el8_6 |
| Rocky Linux:8 | firefox | 0 | 0:128.6.0-1.el8_10 |
| SUSE:Enterprise Storage 7.1 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | MozillaThunderbird | 0 | 128.6.0-150200.8.197.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | MozillaFirefox | 0 | 128.6.0-112.243.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | MozillaFirefox | 0 | 128.6.0-112.243.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | MozillaThunderbird | 0 | 128.6.0-150200.8.197.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 134.0+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:140.7.1+build1-0ubuntu0.22.04.1 |
| Ubuntu:24.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs115 | 0 | No fix |
| Ubuntu:24.10 | mozjs115 | 0 | No fix |
| Ubuntu:25.04 | mozjs115 | 0 | No fix |
| Ubuntu:25.10 | mozjs115 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Wolfi | firefox | 0 | 134.0-r0 |
| openSUSE:Leap 15.6 | MozillaFirefox | 0 | 128.6.0-150200.152.167.1 |
| openSUSE:Leap 15.6 | MozillaThunderbird | 0 | 128.6.0-150200.8.197.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 134.0-1.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | 0 | 128.6.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.6.0-1.1 |
Related vulnerabilities
- CVE-2025-14331 Same-origin policy bypass in the Request Handling component. Also affects firefox
- CVE-2025-14325 JIT miscompilation in the JavaScript Engine: JIT component. Also affects firefox
- CVE-2025-14330 JIT miscompilation in the JavaScript Engine: JIT component. Also affects firefox
- CVE-2025-14333 Memory safety bugs present in Firefox ESR 140.5, Thunderbird ESR 140.5, Firefox 145 and… Also affects firefox
- CVE-2025-14328 Privilege escalation in the Netmonitor component. Also affects firefox
- CVE-2025-14329 Privilege escalation in the Netmonitor component. Also affects firefox
- CVE-2025-14323 Privilege escalation in the DOM: Notifications component. Also affects firefox
- CVE-2025-14321 Use-after-free in the WebRTC: Signaling component. Also affects firefox