CVE-2024-0744
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-0744 is a high-severity vulnerability discovered in Firefox's JavaScript engine that affects versions prior to 122. The vulnerability was disclosed on January 23, 2024, and involves circumstances where JIT (Just-In-Time) compiled code could dereference a wild pointer value, potentially leading to an exploitable crash (Mozilla Advisory, NVD).

Technical details

The vulnerability stems from an issue in Firefox's baseline IC (Inline Cache) implementation of inlined constructors. During constructor calls, the ICStubReg is spilled to the stack before CreateThis operation. If a garbage collection occurs during CreateThis and discards jitcode, the ICStub becomes active on the stack and gets cloned. However, upon return, the code reloads the spilled version of ICStubReg instead of the updated version from the frame, leading to a stale pointer dereference (Mozilla Bug). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to an exploitable crash in Firefox. When exploited, the bug could allow an attacker to trigger memory corruption through the dereferencing of wild pointer values in JIT-compiled code (Mozilla Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Firefox version 122. The fix involves modifying the code to load the ICStub from the frame instead of using the separately stored version. Mozilla has released patches for affected versions, and users are advised to upgrade to Firefox 122 or later (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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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