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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.2.0653"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55693",
"id": "CVE-2026-55693",
"imported": "2026-12-02T14:11:18.580Z",
"modified": "2026-06-26T14:17:05.597Z",
"published": "2026-06-25T16:16:40.220Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-55693"
},
{
"affected": {
"vim:vim": [
"< 9.2.0653"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39452",
"id": "EUVD-2026-39452",
"imported": "2026-12-02T14:11:19.997Z",
"modified": "2026-06-26T14:03:18Z",
"published": "2026-06-25T15:34:33Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39452"
}
]
}