High severity7.8NVD Advisory· Published Jun 25, 2026· Updated Jun 26, 2026
CVE-2026-55693
CVE-2026-55693
Description
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.
Affected products
9- osv-coords7 versionspkg:rpm/almalinux/vim-X11pkg:rpm/almalinux/vim-commonpkg:rpm/almalinux/vim-datapkg:rpm/almalinux/vim-enhancedpkg:rpm/almalinux/vim-filesystempkg:rpm/almalinux/vim-minimalpkg:rpm/almalinux/xxd
< 2:8.2.2637-26.el9_8.13+ 6 more
- (no CPE)range: < 2:8.2.2637-26.el9_8.13
- (no CPE)range: < 2:8.2.2637-26.el9_8.13
- (no CPE)range: < 2:9.1.083-9.el10_2.12
- (no CPE)range: < 2:8.2.2637-26.el9_8.13
- (no CPE)range: < 2:8.2.2637-26.el9_8.13
- (no CPE)range: < 2:8.2.2637-26.el9_8.13
- (no CPE)range: < 2:9.1.083-9.el10_2.12
Patches
Vulnerability mechanics
References
3News mentions
1- Vim: Eight Vulnerabilities Disclosed Together, Patched in 9.2.0699Vypr Intelligence · Jun 26, 2026