What’s Vulnerable › Vulnerabilities

CVE-2026-73072: Vim: Heap Buffer Overflow when Loading a Spell File

Description

Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/spellfile.c reuses sl_sal_first[] without resetting values left by set_sal_first(), so a crafted spell file containing an SN_SAL section before an SN_SOFO section causes under-counted mapping lists and attacker-influenced writes beyond a heap allocation. This issue is fixed in version 9.2.0846.

Affected products

How to fix

Upgrade to a fixed version: vim/vim 9.2.0846. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-73072 or the next vulnerability affects your stack