CVE-2026-55892 json
Vim: Out-of-bounds Write in Spell File Prefix Dump
published 2026-06-25 4 mo ago modified 2026-06-26 4 mo ago also EUVD-2026-39451
- cvss
- 5.5
- version 3.1, CNA
- 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.0662, the dump_prefixes() function in src/spell.c walks a spell-file prefix trie iteratively with a depth counter while dumping the prefixes that apply to a word. The counter is bounded only by the trie structure itself; it is never checked against the size of the fixed MAXWLEN-element stack arrays it indexes (prefix[], arridx[], curi[]). A crafted .spl file, loaded when the user dumps the word list, can drive the descent arbitrarily deep, so the function writes past the end of those arrays. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0662.
Patch / fix
- vim vim 9.2.0662
- vim Debian 13 2:9.1.1230-2+deb13u1
- vim Debian 14 2:9.2.0782-1
debian advisories DEBIAN-CVE-2026-55892
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.33
- vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.17
- vim Ubuntu 25.10 2:9.1.0967-1ubuntu6.8
- vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu4.6
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm30
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm36
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm21
- vim Ubuntu Pro 20.04 LTS 2:8.1.2269-1ubuntu5.32+esm9
ubuntu advisories UBUNTU-CVE-2026-55892
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
- 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.0663-r0
alpine advisories ALPINE-CVE-2026-55892
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-55892 updated cvss 5.5
vim: Vim: Denial of Service via crafted spell file
-
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-filesystem 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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.”
-
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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” 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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” 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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” RHSA-2026:66336
-
Red Hat Enterprise Linux BaseOS (v. 8) vim 8.0.1763-31.el8_10.7fixed: vendor fix “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” RHSA-2026:66348
-
Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-26.el9_8.21fixed: vendor fix “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” RHSA-2026:66366
-
Red Hat Enterprise Linux BaseOS (v. 10) vim 9.1.083-9.el10_2.20fixed: vendor fix “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” RHSA-2026:66336
-
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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” RHSA-2026:35387
show 2 moreshow fewer
-
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 “Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.” 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.12% 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 | 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-55892
- NVD CVE-2026-55892
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.