PT-2026-57014 · Vim+3 · Vim+3

CVE-2026-59857

·

Published

2026-06-24

·

Updated

2026-09-10

CVSS v4.0

5.6

Medium

VectorAV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.

Exploit

Fix

DoS

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:66336
ALSA-2026:66348
ALSA-2026:66366
BDU:2026-14505
CVE-2026-59857
ECHO-835B-EAA6-823F
GHSA-M3HF-XCM3-XHM2
OESA-2026-3122
OPENSUSE-SU-2026:21374-1
RHSA-2026:35387
SUSE-SU-2026:22740-1
SUSE-SU-2026:22754-1
SUSE-SU-2026:22797-1
SUSE-SU-2026:22821-1
SUSE-SU-2026:22901-1
SUSE-SU-2026:3237-1
SUSE-SU-2026:3271-1
SUSE-SU-2026:3458-1
USN-8541-1

Affected Products

Linuxmint
Red Os
Ubuntu
Vim