CVE-2023-25732
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-25732 is a security vulnerability discovered in Mozilla Firefox, Firefox ESR, and Thunderbird affecting versions prior to Firefox 110, Firefox ESR 102.8, and Thunderbird 102.8. The vulnerability was identified when encoding data from an inputStream in xpcom, where the size of the input being encoded was not correctly calculated (Mozilla Advisory, NVD).

Technical details

The vulnerability occurs in the EncodeInputStream() function within xpcom/io/base64.cpp. The bug manifests when the while loop doesn't adjust aCount to account for processed input, causing it to use the original value and potentially empty the entire stream contents even if that exceeds aCount bytes. This could lead to an out-of-bounds memory write when the stream is longer than aCount or when a dynamic stream becomes longer during execution (Mozilla Bug).

Impact

The vulnerability has been rated as having a moderate impact. It could potentially lead to an out-of-bounds memory write, which could result in memory corruption. The CVSS v3.1 base score is 8.8 HIGH with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Mitigation and workarounds

The vulnerability was patched in Firefox 110, Firefox ESR 102.8, and Thunderbird 102.8. The fix involves properly respecting the aCount parameter in EncodeInputStream and improving the handling of streams shorter than aCount bytes. Users are advised to upgrade to these versions or later to receive the security fix (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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-67730MEDIUM5.1
  • NixOSNixOS
  • learning
NoYesDec 12, 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