CVE-2026-59857Vim
Medium 5.6
Follow: this CVE · Vim · Vim We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 4.0
- 5.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 9, 2026
- Updated
- Jul 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Vim.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0725 |
Official advisories
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:66366 · Sep 11, 2026 High
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:66348 · Sep 11, 2026 High
- Red Hat Security Advisory: vim security update · Red Hat · RHSA-2026:66336 · Sep 10, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3458-1 · Aug 3, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3271-1 · Jul 27, 2026 High
- Security update for vim · SUSE · SUSE-SU-2026:3237-1 · Jul 24, 2026 High
Also: SUSE (+6), Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory