CVE-2022-26385
Medium · 6.5CVSS
6.5
EPSS
0.6%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A browser flaw could make it crash unexpectedly during shutdown, interrupting work and requiring users to restart their sessions.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free condition triggered when an individual thread outlives its manager during browser shutdown, resulting in invalid memory access and a potentially exploitable crash.
Why it matters to the business
Browser instability and crashes that interrupt user sessions, reduce productivity, and create risk of data loss or service disruption for organizations relying on the affected browser.
How an attack unfolds
An attacker crafts a web page or extension that forces an unusual shutdown sequence while a background thread remains active, allowing the dangling reference to be abused for memory corruption and potential code execution.
How to fix it
Upgrade Mozilla Firefox to version 98 or later. Enforce automatic updates across the environment and remove any pinned older releases.
How to confirm the fix worked
Confirm all instances report version 98 or newer via enterprise management tools or about:support; retest shutdown sequences under load to verify absence of the prior crash signature.
Typical attack path
- Deliver malicious content via a web page, advertisement, or extension that interacts with browser shutdown paths
- Trigger conditions that cause the manager thread to terminate before a dependent worker thread completes
- Reference the now-freed memory object to induce a crash or corrupt memory state
- Leverage the resulting corruption for further exploitation or denial of service
How to detect it
Search browser crash reports and telemetry for shutdown-related use-after-free signatures; review system logs for unexpected Firefox process terminations during user logout or application close events.
What your security team should do
- Prioritize immediate deployment of Firefox 98+ to all endpoints
- Monitor update compliance dashboards for any remaining pre-98 installations
- Review browser extension and web application usage that may trigger complex shutdown paths
- Include browser version checks in periodic vulnerability scans
The record
In unusual circumstances, an individual thread may outlive the thread's manager during shutdown. This could have led to a use-after-free causing a potentially exploitable crash. This vulnerability affects Firefox < 98.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 98.0+build3-0ubuntu0.18.04.2 |
| Ubuntu:18.04:LTS | firefox | 0 | 98.0.1+build2-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | firefox | 0 | 98.0+build3-0ubuntu0.20.04.2 |
| Ubuntu:20.04:LTS | firefox | 0 | 98.0.1+build2-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | firefox | 0 | 1:1snap1-0ubuntu1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 98.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-25736 An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined… Also affects firefox
- CVE-2023-25733 The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could… Also affects firefox
- CVE-2023-32210 Documents were incorrectly assuming an ordering of principal objects when ensuring we… Also affects firefox
- CVE-2023-32216 Memory safety bugs present in Firefox 112. Also affects firefox
- CVE-2023-32209 A maliciously crafted favicon could have led to an out of memory crash. Also affects firefox
- CVE-2023-32208 Service workers could reveal script base URL due to dynamic `import()`. Also affects firefox
- CVE-2023-29551 Memory safety bugs present in Firefox 111. Also affects firefox
- CVE-2023-32207 A missing delay in popup notifications could have made it possible for an attacker to… Also affects firefox