Bug 2498957 - CVE-2026-55693 vim: Vim: Out-of-bounds Write in Spell File Word Count [fedora-all]
Summary: CVE-2026-55693 vim: Vim: Out-of-bounds Write in Spell File Word Count [fedora...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["10a25a84-790a-4858-b238-5...
Depends On:
Blocks: CVE-2026-55693
TreeView+ depends on / blocked
 
Reported: 2026-07-10 10:08 UTC by Dhananjay Arunesh
Modified: 2026-07-13 11:40 UTC (History)
3 users (show)

Fixed In Version: vim-9.2.725-1.fc43, vim-9.2.725-1.fc44, vim-9.2.725-1.fc45
Clone Of:
Environment:
Last Closed: 2026-07-13 11:40:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2026-07-10 10:08:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.