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: 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-125
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 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.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.0513

External References

Related Security Bulletins