Out-of-bounds read in Vim - #VU165810

 

Out-of-bounds read in Vim - #VU165810

Published: November 11, 2026


Vulnerability identifier: #VU165810
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/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 by crashing Vim.

The vulnerability exists due to an out-of-bounds read in Vim's spell file processing when free_sal_items() interprets soundfolding pointers from an SN_SOFO section as salitem_T entries while loading a second SN_SOFO section. A remote attacker can trick a victim into opening a file whose modeline enables 'spell' and sets 'spelllang' to a crafted .spl file containing two SN_SOFO sections, with 'modeline' enabled, to crash Vim.

Exploitation also requires a multi-byte 'encoding', such as utf-8.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.1309

External References

Related Security Bulletins