{"id":"CVE-2026-55892","state":"PUBLISHED","title":"Vim: Out-of-bounds Write in Spell File Prefix Dump","description":"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.","publishedAt":"2026-06-25T15:32:41.238Z","updatedAt":"2026-06-26T18:43:09.878Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0662","status":"affected"}]}],"references":["https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h","https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f","https://github.com/vim/vim/releases/tag/v9.2.0662"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55892.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55892","state":"PUBLISHED","datePublished":"2026-06-25T15:32:41.238Z","dateUpdated":"2026-06-26T18:43:09.878Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-17T16:59:42.760Z"},"containers":{"cna":{"title":"Vim: Out-of-bounds Write in Spell File Prefix Dump","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0662","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h","name":"https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f","name":"https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0662","name":"https://github.com/vim/vim/releases/tag/v9.2.0662","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-25T15:32:41.238Z"},"source":{"advisory":"GHSA-qm9w-fmpj-879h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-26T17:50:52.811086Z","id":"CVE-2026-55892","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-26T18:43:09.878Z"}}]}}}