Out-of-bounds read in Vim - #VU134883

 

Out-of-bounds read in Vim - #VU134883

Published: June 18, 2026


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

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information and cause a denial of service.

The vulnerability exists due to out-of-bounds read in get_text_props() in src/textprop.c when processing a crafted undo file during undo and subsequent line inspection. A remote attacker can supply a malicious source file and sibling .un~ undo file with a forged text property count to disclose sensitive information and cause a denial of service.

User interaction is required: 'undofile' must be enabled, the user must open the file and perform an undo operation, and a consumer such as prop_list() or screen redraw must inspect the restored line.


Remediation

Install security update from vendor's website.

Sources