Out-of-bounds read in Vim - #VU165810
Published: November 11, 2026
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.