CVE-2023-25751
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-25751 is a high-severity vulnerability discovered in Mozilla Firefox's JavaScript engine that affects Firefox versions prior to 111, Firefox ESR versions before 102.9, and Thunderbird versions before 102.9. The vulnerability was discovered by security researcher Lukas Bernhard and disclosed on March 14, 2023. The issue occurs during JIT (Just-In-Time) code compilation when invalidating JIT code while following an iterator (Mozilla Advisory, NVD).

Technical details

The vulnerability stems from an issue where newly generated code could be overwritten incorrectly during JIT code invalidation while following an iterator. Specifically, when generating code for iterator operations, a call to arrayjoin followed immediately by a call to ValueToIterator could trigger the vulnerability. The bug occurs when a major GC (Garbage Collection) happens inside ValueToIterator, leading to problems during invalidation where the delta written for a previous frame could be clobbered. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD, [Mozilla Bug](https://bugzilla.mozilla.org/showbug.cgi?id=1814899)).

Impact

The vulnerability could lead to a potentially exploitable crash. The issue affects both desktop and Android versions of Firefox, and while it requires user interaction, it could be triggered through web content. In Thunderbird, the vulnerability cannot be exploited through email alone since scripting is disabled when reading mail, but it remains a potential risk in browser-like contexts (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 111, Firefox ESR 102.9, and Thunderbird 102.9. The fix involved implementing additional checks in the JIT compiler to ensure proper space allocation for OSI (Optimized Site Information) points and preventing code overwrite 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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 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