CVE-2026-59857 json
Vim: Out-of-bounds Write in SAL Soundfolding
published 2026-07-09 4 mo ago modified 2026-07-10 4 mo ago also EUVD-2026-42751
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 1%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim vim 9.2.0725
- vim Debian 13 2:9.1.1230-2+deb13u1
- vim Debian 14 2:9.2.0782-1
debian advisories DEBIAN-CVE-2026-59857
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.34
- vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.18
- vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu4.7
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm31
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm37
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm22
- vim Ubuntu Pro 20.04 LTS 2:8.1.2269-1ubuntu5.32+esm10
ubuntu advisories UBUNTU-CVE-2026-59857
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim RHEL 9 2:8.2.2637-26.el9_8.21
- vim-X11 RHEL 9 2:8.2.2637-26.el9_8.21
- vim-common RHEL 9 2:8.2.2637-26.el9_8.21
- vim-enhanced RHEL 9 2:8.2.2637-26.el9_8.21
- vim RHEL 8 2:8.0.1763-31.el8_10.7
- vim-X11 RHEL 8 2:8.0.1763-31.el8_10.7
- vim-common RHEL 8 2:8.0.1763-31.el8_10.7
- vim-enhanced RHEL 8 2:8.0.1763-31.el8_10.7
red hat advisories RHSA-2026:66366RHSA-2026:66348RHSA-2026:66336RHSA-2026:35387
- vim SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES 15 SP6-LTSS +6 more 9.2.0780-150500.20.61.2
- vim SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 9.2.0780-150000.5.99.1
- vim Linux Micro 6.1 9.2.0780-slfo.1.1_1.1
- vim SLES 16.0, Linux Micro Extras 6.2, Linux Micro 6.2 +1 more 9.2.0780-160000.1.1
- vim Linux Micro 6.0 9.2.0780-1.1
- vim SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.2.0780-17.73.1
suse advisories SUSE-SU-2026:3458-1SUSE-SU-2026:3271-1SUSE-SU-2026:3237-1SUSE-SU-2026:22901-1SUSE-SU-2026:22754-1SUSE-SU-2026:22821-1
- vim openSUSE Leap 16.0 9.2.0780-160000.1.1
opensuse advisories openSUSE-SU-2026:21374-1
- xxd AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-X11 AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-data AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-common AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-minimal AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-enhanced AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-filesystem AlmaLinux 10 2:9.1.083-9.el10_2.20
- vim-X11 AlmaLinux 8 2:8.0.1763-31.el8_10.7
almalinux advisories ALSA-2026:66336ALSA-2026:66348ALSA-2026:66366
- vim Rocky Linux 10 2:9.1.083-9.el10_2.20
- vim Rocky Linux 9 2:8.2.2637-26.el9_8.21
- vim Rocky Linux 8 2:8.0.1763-31.el8_10.7
rocky linux advisories RLSA-2026:66336RLSA-2026:66366RLSA-2026:66348
- vim Alpine 3.23 9.2.0854-r0
- vim Alpine 3.24 9.2.0725-r0
alpine advisories ALPINE-CVE-2026-59857
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59857 updated cvss 5.5
vim: Vim: Denial of Service via out-of-bounds write in spell sound-folding
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) vim-X11 8.0.1763-31.el8_10.7, vim-enhanced 8.0.1763-31.el8_10.7fixed: vendor fix RHSA-2026:66348
-
Red Hat Enterprise Linux AppStream (v. 9) vim-X11 8.2.2637-26.el9_8.21, vim-enhanced 8.2.2637-26.el9_8.21fixed: vendor fix RHSA-2026:66366
-
Red Hat Enterprise Linux AppStream (v. 10) vim-X11 9.1.083-9.el10_2.20, vim-enhanced 9.1.083-9.el10_2.20fixed: vendor fix RHSA-2026:66336
-
Red Hat Enterprise Linux BaseOS (v. 8) vim 8.0.1763-31.el8_10.7fixed: vendor fix RHSA-2026:66348
-
Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-26.el9_8.21fixed: vendor fix RHSA-2026:66366
-
Red Hat Enterprise Linux BaseOS (v. 10) vim 9.1.083-9.el10_2.20fixed: vendor fix RHSA-2026:66336
show 3 moreshow fewer
-
Red Hat Hardened Images vim 9.2.780-1.hum1, xxd 9.2.780-1.hum1, vim-X11 9.2.780-1.hum1, vim-data 9.2.780-1.hum1, vim-common 9.2.780-1.hum1, vim-minimal 9.2.780-1.hum1, +3 morefixed: vendor fix RHSA-2026:35387
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1789479900, rhui5/rhua-rhel9 1790242004, rhui5/haproxy-rhel9 1789479891, rhui5/installer-rhel9 1789482961, rhui5/cds-kubernetes-rhel9 1789479916fixed: vendor fix RHSA-2026:67956
-
Red Hat Enterprise Linux AppStream (v. 8) vim-common 8.0.1763-31.el8_10.7, vim-filesystem 8.0.1763-31.el8_10.7 Red Hat Enterprise Linux AppStream (v. 9) vim-common 8.2.2637-26.el9_8.21 Red Hat Enterprise Linux AppStream (v. 10) xxd 9.1.083-9.el10_2.20, vim-common 9.1.083-9.el10_2.20 Red Hat Enterprise Linux BaseOS (v. 8) vim-minimal 8.0.1763-31.el8_10.7 Red Hat Enterprise Linux BaseOS (v. 9) vim-minimal 8.2.2637-26.el9_8.21, vim-filesystem 8.2.2637-26.el9_8.21 Red Hat Enterprise Linux BaseOS (v. 10) vim-data 9.1.083-9.el10_2.20, vim-minimal 9.1.083-9.el10_2.20, vim-filesystem 9.1.083-9.el10_2.20not affected: vulnerable code not present
+1 more productsfewer
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1790241954, rhui5/rhua-rhel9 1789478095, rhui5/haproxy-rhel9 1790241900, rhui5/installer-rhel9 1790241922, rhui5/cds-kubernetes-rhel9 1790241897
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.11% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.6 | 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 |
| CNA | 4.0 | 5.6 | 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 |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- vim vim
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
Sources
- CVE List CVE-2026-59857
- NVD CVE-2026-59857
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.