CVE-2024-3860
NoneCVSS
—
EPSS
0.2%
Published
Apr 16, 2024
CISA due date
—
Cloudanix analysis
A problem in the browser could make it run out of memory and suddenly close when it tries to handle certain web page content.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An out-of-memory condition during object initialization produces an empty shape list; subsequent JIT tracing of the object triggers a crash.
Why it matters to the business
Users visiting attacker-controlled web content may experience browser crashes that interrupt work and require restarts; the issue has shown no signs of active exploitation in the wild and carries low urgency for most environments.
How an attack unfolds
An attacker hosts a web page containing JavaScript that forces an out-of-memory state at the precise moment an object is initialized, leaving an empty shape list that later causes the JIT to dereference invalid data and crash the browser process.
How to fix it
Upgrade all Firefox installations to version 125 or later; apply the update through the browser's built-in updater or enterprise deployment channels.
How to confirm the fix worked
Confirm installed Firefox versions are 125 or newer; optionally reproduce the crash condition in a test environment with a crafted JavaScript payload before and after the update.
Typical attack path
- Host a malicious web page served to targeted users
- Execute JavaScript that triggers an out-of-memory condition during object initialization
- Allow the JIT to trace the resulting malformed object and induce a crash
How to detect it
Review browser crash logs and user reports for sudden JIT-related terminations immediately after visiting unfamiliar sites; correlate with web proxy logs showing access to suspicious domains.
What your security team should do
- Deploy Firefox 125+ to all managed endpoints within standard patch windows
- Monitor crash reports for recurring JIT-related browser failures
- Block or sandbox access to untrusted web content where feasible
The record
An out-of-memory condition during object initialization could result in an empty shape list. If the JIT subsequently traced the object it would crash. This vulnerability affects Firefox < 125.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 125.0.2+build1-0ubuntu0.20.04.2 |
| 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:24.04:LTS | mozjs102 | 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 |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | mozjs102 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 125.0.2-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2025-0243 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 128.5, and… Also affects mozjs38
- CVE-2025-0237 The WebChannel API, which is used to transport various information across processes, did… Also affects mozjs38
- CVE-2025-0238 Assuming a controlled failed memory allocation, an attacker could have caused a… Also affects mozjs38
- CVE-2025-0240 Parsing a JavaScript module as JSON could, under some circumstances, cause… Also affects mozjs38
- CVE-2025-0239 When using Alt-Svc, ALPN did not properly validate certificates when the original server… Also affects mozjs38
- CVE-2025-0241 When segmenting specially crafted text, segmentation would corrupt memory leading to a… Also affects mozjs38
- CVE-2025-0242 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 115.18, Firefox… Also affects mozjs38
- CVE-2024-11704 A double-free issue could have occurred in `sec_pkcs7_decoder_start_decrypt()` when… Also affects mozjs38