All reports
High

vim: Vim: Heap buffer overflow allows arbitrary code execution

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-73072

Probability of exploitation in the next 30 days: 0.12%

FIRST EPSS · 2026-11-18

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.

A heap buffer overflow in Vim allows a local attacker to cause a denial of service or potentially execute arbitrary code. The flaw is triggered by processing a specially crafted spell file, where the set_sofo() function fails to reset internal data between sections, leading to an out-of-bounds write.