High [CVE-2026-55693] Out-of-bounds Write in Spell File Word Count
This high-severity Red Hat Linux advisory covers CVE-2026-55693 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_words() function in src/spellfile.c fills in the word-count fields of a spell-file word trie by walking it iteratively with a depth counter.
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 (arridx[], curi[], wordcount[]). A crafted.spl/.sug file pair, loaded when the user invokes spell suggestion, 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.0653.
A remote attacker could exploit this vulnerability by tricking a user into loading a specially crafted spell file. This Moderate impact vulnerability in Vim's spell suggestion feature allows an attacker to cause a denial of service.
This requires user interaction and a malicious file, limiting its immediate exploitability. Red Hat severity: Moderate — CVSS 7.3 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H).
Weakness: CWE-120.
Affected products named by the advisory: Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Red Hat OpenShift Container Platform 4.22; and 6 more.
- < 9.2.0653
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
- 9.2.0653
- vim-2:9.1.083-9.el10_2.12
- vim-2:9.1.083-5.el10_0.4
- vim-2:8.0.1763-31.el8_10
- vim-2:8.2.2637-26.el9_8.13
- rhcos-4.22.9.8.202608130832-0
- vim-main-9.2.725-1.hum1
- insights-proxy/insights-proxy-container-rhel9:1786433656
- rhui5/cds-kubernetes-rhel9:1786435241
- rhui5/cds-rhel9:1786533457
- rhui5/haproxy-rhel9:1786533449
- rhui5/installer-rhel9:1786435483
- rhui5/rhua-rhel9:1786533529
- rhui5/cds-kubernetes-tp-rhel9:1787241211
- rhui5/installer-tp-rhel9:1787135742
- rhui5/rhua-tp-rhel9:1787241260
- RHSA-2026:48650
- RHSA-2026:55431
- RHSA-2026:48703
- RHSA-2026:47982
- RHSA-2026:54769
- RHSA-2026:30267
- RHSA-2026:53371
- RHSA-2026:54387
- RHSA-2026:58981
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Mitigation
Upgrade to a fixed release: 9.2.0653, vim-2:9.1.083-9.el10_2.12, vim-2:9.1.083-5.el10_0.4, vim-2:8.0.1763-31.el8_10, vim-2:8.2.2637-26.el9_8.13, rhcos-4.22.9.8.202608130832-0. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.