CVE-2024-5695
NoneCVSS
—
EPSS
0.6%
Published
Jun 11, 2024
CISA due date
—
Cloudanix analysis
Older versions of the Firefox browser contain a flaw that could let attackers crash the program or, in rare cases, gain control of the affected computer.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An out-of-memory condition during allocations in the probabilistic heap checker can trigger an assertion failure or, in rarer cases, result in memory corruption within the browser process.
Why it matters to the business
Outdated browser deployments face elevated risk of instability or compromise that could disrupt user workflows and expose systems to unauthorized access, though public exploitation remains unlikely given low observed activity.
How an attack unfolds
An attacker crafts web content designed to induce a precise out-of-memory state at the heap checker allocation point, attempting to leverage the resulting corruption for arbitrary code execution within the Firefox process.
How to fix it
Upgrade all Firefox installations to version 127 or later to resolve the allocation handling flaw.
How to confirm the fix worked
Verify installed Firefox version is 127 or higher via the about:support page or enterprise inventory tools.
Typical attack path
- Serve malicious web content to a vulnerable Firefox instance
- Trigger an out-of-memory condition at the specific heap checker allocation site
- Attempt to leverage resulting memory corruption for code execution
How to detect it
Examine browser crash reports and memory dumps for signs of heap checker assertion failures or unexpected corruption under high-memory conditions; no widespread exploitation artifacts have been observed.
What your security team should do
- Prioritize updating Firefox deployments to 127 or newer across the environment
- Enable automatic updates where possible to reduce future exposure windows
- Review browser usage policies to limit reliance on unsupported versions
The record
If an out-of-memory condition occurs at a specific point using allocations in the probabilistic heap checker, an assertion could have been triggered, and in rarer situations, memory corruption could have occurred. This vulnerability affects Firefox < 127.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | firefox | 0 | 127.0.2-r0 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 127.0.2+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: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 |
| Wolfi | firefox | 0 | 127.0.2-r0 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 127.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2026-4726 Denial-of-service in the XML component. Also affects firefox
- CVE-2026-4724 Undefined behavior in the Audio/Video component. Also affects firefox
- CVE-2026-4729 Memory safety bugs present in Firefox 148 and Thunderbird 148. Also affects firefox
- CVE-2026-4722 Privilege escalation in the IPC component. Also affects firefox
- CVE-2026-4723 Use-after-free in the JavaScript Engine component. Also affects firefox
- CVE-2026-4727 Denial-of-service in the Libraries component in NSS. Also affects firefox
- CVE-2026-4728 Spoofing issue in the Privacy: Anti-Tracking component. Also affects firefox
- CVE-2026-4725 Sandbox escape due to use-after-free in the Graphics: Canvas2D component. Also affects firefox