All reports
Low

vim: heap-based buffer overflow in ins_compl_add() in insexpand.c

Affected versions

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

Exploitation

CVE-2022-2343

Probability of exploitation in the next 30 days: 1.37%

FIRST EPSS · 2026-11-22

Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.

A heap-based buffer overflow was found in Vim in the ins_compl_add function in the insexpand.c file. This issue occurs due to a read past the end of a buffer when a specially crafted input is processed. This flaw allows an attacker who can trick a user into opening a specially crafted file into triggering the heap-based buffer overflow, causing the application to crash, possibly executing code and corrupting memory.