All reports
Low

vim: buffer over-read in put_on_cmdline() at ex_getln.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-2175

Probability of exploitation in the next 30 days: 1.31%

FIRST EPSS · 2026-11-19

Description

Buffer Over-read in GitHub repository vim/vim prior to 8.2.

A heap buffer over-read vulnerability was found in Vim's put_on_cmdline() function of the src/ex_getln.c file. This issue occurs due to invalid memory access when using an expression on the command line. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash and corrupt memory.