Out-of-bounds write in Vim - #VU134580

 

Out-of-bounds write in Vim - #VU134580

Published: June 16, 2026


Vulnerability identifier: #VU134580
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-787
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 cause a denial of service.

The vulnerability exists due to out-of-bounds write in the tree_count_words() function in src/spellfile.c when parsing a crafted .spl/.sug spell file pair during spell suggestion loading. A remote attacker can supply a specially crafted spell file pair to cause a denial of service.

User interaction is required: spell checking must be enabled and the user must invoke spell suggestion on a misspelled word.


Remediation

Install security update from vendor's website.

Sources