Out-of-bounds write in Vim - #VU145882

 

Out-of-bounds write in Vim - #VU145882

Published: August 27, 2026


Vulnerability identifier: #VU145882
CSH Severity: Medium
CVSS v4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in libvterm resize handling when rendering attacker-controlled terminal output containing a crafted resize escape sequence. A remote attacker can send crafted terminal output to cause a denial of service.

Exploitation requires Vim to be compiled with the terminal feature, a terminal window to be open, and the escape sequence and subsequent output to arrive as a continuous stream without a redraw in between.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.1013

External References

Related Security Bulletins