CVE-2023-48231
NixOS vulnerability analysis and mitigation

Overview

Vim, an open source command line text editor, was found to contain a use-after-free vulnerability (CVE-2023-48231) when closing a window. The vulnerability was discovered on November 16, 2023, and affects Vim versions prior to 9.0.2106. When closing a window, Vim may attempt to access an already freed window structure, potentially leading to a crash (NVD, Openwall).

Technical details

The vulnerability is classified as a Use-After-Free (CWE-416) issue in the win_close() function. The CVSS v3.1 base score is 4.3 (Medium), with the following vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. The issue occurs when Vim attempts to access window-related variables after the window structure has been freed. The vulnerability requires user interaction and has been fixed by adding validation to check if the window is still valid before accessing any window-related variables (GitHub Advisory).

Impact

The impact of this vulnerability is considered low, as exploitation beyond causing the application to crash has not been demonstrated. The vulnerability primarily affects the availability of the application, with no direct impact on confidentiality or integrity. Any potential exploitation would be noticeable to the user (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been addressed in Vim patch 9.0.2106 with commit 25aabc2b. Users are advised to upgrade to version 9.0.2106 or later. There are no known workarounds for this vulnerability (NVD).

Community reactions

Multiple Linux distributions have responded to this vulnerability by releasing security updates. Fedora has included fixes in versions 37, 38, and 39, while NetApp has issued an advisory for their affected products (Fedora, NetApp).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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