All reports
Low

vim: heap-buffer-overflow in append_command of src/ex_docmd.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-1616

Probability of exploitation in the next 30 days: 2.74%

FIRST EPSS · 2026-11-24

Description

Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

A flaw was found in vim, which is vulnerable to a heap-buffer-overflow in append_command of the src/ex_docmd.c function. This flaw allows a specially crafted file to crash software, modify memory, or execute code when opened in vim.