All reports
Low

vim: Incorrect Calculation of Buffer Size

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-2023-1175

Probability of exploitation in the next 30 days: 0.45%

FIRST EPSS · 2026-11-22

Description

Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.

A flaw was found in Vim. There is an incorrect calculation of buffer size issue found in Vim's yank_copy_line() function of the register.c file. This flaw allows illegal memory access when using virtual editing as "startspaces" goes negative. An attacker can trick a user into opening a specially crafted file, triggering an issue that causes an application to crash leading to a denial of service, corrupting memory, and possibly executing code.