CVE-2026-73072 PUBLISHED

Vim: Heap Buffer Overflow when Loading a Spell File

Assigner: GitHub_M
Reserved: 10.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor vim
Product vim
Versions
  • Version < 9.2.0846 is affected

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE
  • CWE-787: Out-of-bounds Write CWE