VYPR
Unrated severityNVD Advisory· Published Sep 4, 2023· Updated Feb 13, 2025

Use After Free in vim/vim

CVE-2023-4750

Description

A use-after-free in Vim's quickfix window handling (is_qf_win) before 9.0.1857 can lead to arbitrary code execution via a crafted file.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A use-after-free in Vim's quickfix window handling (is_qf_win) before 9.0.1857 can lead to arbitrary code execution via a crafted file.

Vulnerability

A use-after-free vulnerability exists in the is_qf_win() function in Vim prior to version 9.0.1857 [2]. The bug is triggered in the quickfix window handling code when processing a specially crafted file, causing a heap-use-after-free condition [2]. All versions before the fix are affected.

Exploitation

An attacker can exploit this by crafting a malicious file that, when opened by a victim in Vim, triggers the use-after-free in is_qf_win() [2]. No special privileges are required beyond the ability to convince the victim to open the file. The Vim project's test case demonstrates the crash using a proof-of-concept file [2].

Impact

Successful exploitation can lead to arbitrary code execution in the context of the Vim process [1]. The impact may also include unexpected application termination (denial of service) [1]. The attacker could potentially execute arbitrary commands or compromise the system if Vim is running with elevated privileges.

Mitigation

The vulnerability is fixed in Vim version 9.0.1857, released as part of the patch series [2]. Users should update to the latest version. Apple included the fix in macOS Sonoma 14.1 [1]. Fedora package announcements were made [3][4], but the content is unavailable; users should apply updates from their distribution. No workaround is described; updating is the recommended mitigation.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

27

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

7

News mentions

0

No linked articles in our index yet.