CVE-2023-5174
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-5174 is a double-free vulnerability in Firefox's Windows process spawning mechanism, discovered in September 2023. The vulnerability affects Firefox versions prior to 118, Firefox ESR versions before 115.3, and Thunderbird versions before 115.3. This security flaw specifically impacts Firefox running on Windows systems when used in non-standard configurations, such as when using the 'runas' command (Mozilla Advisory, NVD).

Technical details

The vulnerability occurs in BrokerServicesBase::SpawnTarget() when Windows fails to duplicate a handle during process creation. In this scenario, the sandbox code inadvertently frees a pointer twice, resulting in a use-after-free condition. The issue specifically arises in the non-job path of the code execution, where if AddTargetPeerInternal() fails due to a DuplicateHandle() error, it leads to a double-delete of the target pointer. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could result in a potentially exploitable crash when triggered. While the impact is rated as 'moderate' by Mozilla, the CVSS score suggests potential for high impact on affected systems. The bug specifically affects Firefox on Windows when run in non-standard configurations, while other operating systems remain unaffected (Mozilla Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Firefox 118, Firefox ESR 115.3, and Thunderbird 115.3. Users are advised to update to these or later versions to mitigate the risk. The fix involves ensuring proper termination of the child process when SpawnTarget fails and there is no job, rather than using SpawnCleanup (Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management