Editor crash via SAL soundfolding off-by-one
Published Jul 9, 2026 · Updated Jul 9, 2026
Out-of-bounds write in Vim before 9.2.0725 allows local users to crash the editor through a boundary-length soundfold() word. spell_soundfold_sal() permits reslen to reach MAXWLEN, then stores a NUL at res[MAXWLEN], one byte beyond the caller-owned stack buffer. Reachability requires a SAL-based spell language, a non-multibyte 8-bit encoding rather than default UTF-8, and direct or suggestion-driven soundfold() processing.
Summary
What happened
Out-of-bounds write in Vim before 9.2.0725 allows local users to crash the editor through a boundary-length soundfold() word. spell_soundfold_sal() permits reslen to reach MAXWLEN, then stores a NUL at res[MAXWLEN], one byte beyond the caller-owned stack buffer. Reachability requires a SAL-based spell language, a non-multibyte 8-bit encoding rather than default UTF-8, and direct or suggestion-driven soundfold() processing.
The record
- CVE
- CVE-2026-59857
- Published
- Jul 9, 2026
- Updated
- Jul 9, 2026
- Vendor
- Vim
- Product
- Vim
- Classifications
- CWE-787, T1499
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 9, 2026CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 9.2.0725
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Test_spellfile_soundfold_sal_overflow regression testproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo