Out-of-bounds read in Vim - #VU132276

 

Out-of-bounds read in Vim - #VU132276

Published: May 25, 2026


Vulnerability identifier: #VU132276
CSH Severity: Medium
CVSS v4.0: 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/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 cause a denial of service.

The vulnerability exists due to out-of-bounds read in tree_count_words() when parsing a crafted spell file. A remote attacker can supply a crafted .spl file to trigger a one-byte heap out-of-bounds read to cause a denial of service.

The issue is triggered during .sug file loading on a tree whose final sibling is BY_NOFLAGS.


Remediation

Install security update from vendor's website.

Sources