Out-of-bounds read in Vim - #VU133141

 

Out-of-bounds read in Vim - #VU133141

Published: June 1, 2026


Vulnerability identifier: #VU133141
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Vim.org
Affected software:
Vim

Detailed vulnerability description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to out-of-bounds read in the update_snapshot() function in src/terminal.c when processing terminal screen snapshots in a :terminal window. A local user can emit terminal output containing a cell with a base character and five combining marks to cause a denial of service.

The issue can be triggered when the user enters Terminal-Normal mode or when the terminal job exits.


Remediation

Install security update from vendor's website.

Sources