PT-2026-57014
CVE-2026-59857
·
Published
2026-06-24
·
Updated
2026-11-11
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Vim versions prior to 9.2.0725
Description
A flaw exists in the single-byte branch of the
spell soundfold sal() function within src/spell.c. When translating a word using a spell file's SAL sound-folding rules into a caller-owned result buffer, the process is guarded by reslen < MAXWLEN. This allows reslen to reach MAXWLEN, causing the subsequent res[reslen] = NUL operation to write one byte beyond the end of the MAXWLEN-element stack buffer. A boundary-length word passed to soundfold() or encountered during sound-based spell suggestions while a SAL-based spell language is active under a non-multibyte 8-bit encoding can corrupt the eval soundfold() stack frame, leading to an editor crash.Recommendations
Update to version 9.2.0725.
Found an issue in the description? Have something to add? Feel free to write us 👾