All reports
Low

vim: use-after-free in ex_open() in src/ex_docmd.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-4069

Probability of exploitation in the next 30 days: 1.39%

FIRST EPSS · 2026-11-23

Description

vim is vulnerable to Use After Free

A heap use-after-free flaw was found in Vim's ex_open() function in src/ex_docmd.c file. This flaw allows an attacker to trick the victim into opening a specially crafted file that triggers a use-after-free error, allowing the attacker to compromise the system and execute arbitrary code.