# CVE-2026-55892: Vim: Out-of-bounds Write in Spell File Prefix Dump

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-06-25T15:32:41.238Z
- Modified: 2026-06-26T19:16:44.667Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0662; before 9.2.0662

## References

- <https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h> (vendor-advisory)
- <https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f> (patch)
- <https://github.com/vim/vim/releases/tag/v9.2.0662> (product)

## Sources

- CVE List: [CVE-2026-55892](https://www.cve.org/CVERecord?id=CVE-2026-55892), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-55892](https://nvd.nist.gov/vuln/detail/CVE-2026-55892), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-55892 · Whole record: https://cve.day/CVE-2026-55892.json · Rebuilt by cve.day 2026-11-25T22:59:26.378Z
