CVE-2026-59857
Publication date 10 July 2026
Last updated 16 July 2026
Ubuntu priority
Cvss 3 Severity Score
Description
Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte branch of spell_soundfold_sal() in src/spell.c translates a word through a spell file's SAL sound-folding rules into a caller-owned result buffer, but its result writes are guarded with reslen < MAXWLEN, allowing reslen to reach MAXWLEN before res[reslen] = NUL writes one byte past the end of the MAXWLEN-element stack buffer. A boundary-length word passed to soundfold(), or reached via sound-based spell suggestion while a SAL-based spell language is active under a non-multibyte 8-bit encoding, can corrupt the eval_soundfold() stack frame and crash the editor. This issue is fixed in version 9.2.0725.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| vim | 26.04 LTS resolute |
Fixed 2:9.1.2141-1ubuntu4.7
|
| 24.04 LTS noble |
Fixed 2:9.1.0016-1ubuntu7.18
|
|
| 22.04 LTS jammy |
Fixed 2:8.2.3995-1ubuntu2.34
|
|
| 20.04 LTS focal |
Fixed 2:8.1.2269-1ubuntu5.32+esm10
|
|
| 18.04 LTS bionic |
Fixed 2:8.0.1453-1ubuntu1.13+esm22
|
|
| 16.04 LTS xenial |
Fixed 2:7.4.1689-3ubuntu1.5+esm37
|
|
| 14.04 LTS trusty |
Fixed 2:7.4.052-1ubuntu3.1+esm31
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version:
Base score
5.6 · Medium
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Base score
5.5 · Medium
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
Related Ubuntu Security Notices (USN)
- USN-8541-1
- Vim vulnerabilities
- 14 July 2026