Out-of-bounds write in Vim - #VU135167

 

Out-of-bounds write in Vim - #VU135167

Published: June 25, 2026


Vulnerability identifier: #VU135167
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-787
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 write in the SAL sound-folding logic in spell_soundfold_sal() when processing a boundary-length word through soundfold() with a SAL-based spell language active. A local user can supply a crafted boundary-length word to cause a denial of service.

The vulnerable path is only reached under a non-multibyte 8-bit encoding such as latin1, and spell checking must be enabled with a SAL-based language.


Remediation

Install security update from vendor's website.

Sources