CVE-2024-3865
NoneCVSS
—
EPSS
0.5%
Published
Apr 16, 2024
CISA due date
—
Cloudanix analysis
A flaw in an older browser version could let attackers take over a user's computer simply by getting them to visit a bad webpage.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Memory safety bugs causing memory corruption that could be leveraged for arbitrary code execution in the browser process.
Why it matters to the business
Attackers could gain control of user systems through crafted web content, resulting in data theft, malware installation, or unauthorized access to corporate resources accessed via the browser.
How an attack unfolds
An attacker delivers malicious web content that triggers the memory corruption flaws during rendering or script execution, allowing the attacker to escape browser sandboxing and execute arbitrary code on the host.
How to fix it
Upgrade affected Firefox installations to version 125 or later to resolve the memory safety issues.
How to confirm the fix worked
Verify browser version is 125 or higher and confirm no open crash reports or memory-related issues tied to the affected release.
Typical attack path
- Host a malicious webpage or deliver it via phishing or compromised sites
- Victim browser loads and processes the content triggering memory corruption
- Attacker chain exploits the corruption to achieve code execution
- Payload establishes persistence or exfiltrates data
How to detect it
Review browser crash logs and memory dump artifacts for signs of unexpected corruption in the affected version; correlate with web request logs to malicious domains.
What your security team should do
- Prioritize browser updates across all endpoints to version 125+
- Enable automatic updates for Firefox deployments
- Monitor for any post-update stability issues in enterprise environments
The record
Memory safety bugs present in Firefox 124. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. 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