CVE-2022-40960
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-40960 is a high-severity vulnerability discovered in Mozilla Firefox's URL parser implementation. The vulnerability was reported by Armin Ebert and fixed in Firefox 105 and Firefox ESR 102.3, released on September 20, 2022. The issue affects Firefox's handling of non-UTF-8 URLs in concurrent thread operations (Mozilla Advisory).

Technical details

The vulnerability stems from a thread-safety issue in the URL parser when handling non-UTF-8 data. Specifically, the concurrent use of the URL parser with non-UTF-8 data was not thread-safe, which could trigger a use-after-free condition. The issue manifests when parsing javascript: URI strings with a non-UTF-8 charset parameter, particularly during worker thread creation (Mozilla Bug).

Impact

The vulnerability is rated as high severity and could lead to a use-after-free condition causing a potentially exploitable crash. This could potentially allow attackers to execute arbitrary code on affected systems. The issue affects multiple Mozilla products including Firefox, Firefox ESR, and Thunderbird (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 105, Firefox ESR 102.3, and Thunderbird 102.3. The fix involved making the nsTextToSubURI::UnEscapeNonAsciiURI function static to prevent thread-safety issues. Users are advised to upgrade to these versions or later to mitigate the vulnerability (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-2025-68120MEDIUM5.4
  • NixOSNixOS
  • go
NoYesDec 30, 2025
CVE-2025-69413MEDIUM5.3
  • NixOSNixOS
  • code.gitea.io/gitea
NoYesJan 01, 2026
CVE-2025-15412MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-15411MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-68932LOW2.9
  • NixOSNixOS
  • freshrss
NoYesDec 27, 2025

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