# CVE-2026-59857: Vim: Out-of-bounds Write in SAL Soundfolding

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-09 · Modified: 2026-07-10
- Aliases: ALPINE-CVE-2026-59857, UBUNTU-CVE-2026-59857, DEBIAN-CVE-2026-59857
- Record: https://cvemate.com/vulnerability/CVE-2026-59857 · JSON: https://cvemate.com/vulnerability/CVE-2026-59857/json

## Description

```text
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.
```

## Signals

- CVSS: 5.6 medium (v4.0, CVE.org) 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
- EPSS: 0.11%, percentile 1.37%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.2.0854-r0 \| \< 9.2.0725-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0782-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm31 \| \< 2:7.4.1689-3ubuntu1.5+esm37 \| \< 2:8.0.1453-1ubuntu1.13+esm22 \| \< 2:8.1.2269-1ubuntu5.32+esm10 \| \< 2:8.2.3995-1ubuntu2.34 \| \< 2:9.1.0016-1ubuntu7.18 \| \< 2:9.1.2141-1ubuntu4.7
- vim vim: \< 9.2.0725

## References

- <https://github.com/vim/vim/security/advisories/GHSA-m3hf-xcm3-xhm2>
- <https://github.com/vim/vim/commit/d22ff1c955ff87e8273210eae125aab0e85b6c30>
- <https://security.alpinelinux.org/vuln/CVE-2026-59857>
- <https://ubuntu.com/security/CVE-2026-59857>
- <https://www.cve.org/CVERecord?id=CVE-2026-59857>
- <https://ubuntu.com/security/notices/USN-8541-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-59857>

---

Data as of 2026-12-05T04:47:24.140Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
