CVE-2026-55892: vim Out-of-bounds Write
Vulnerability summary
CVE-2026-55892 is a medium (CVSS 5.5) Out-of-bounds Write vulnerability in vim. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 1Timeline
- 25-06-2026PublishedVulnerability first disclosed.
- 26-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.12% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- vim< 9.2.0854-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.2.0782-1
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm30 | < 2:7.4.1689-3ubuntu1.5+esm36 | < 2:8.0.1453-1ubuntu1.13+esm21 | < 2:8.1.2269-1ubuntu5.32+esm9 | < 2:8.2.3995-1ubuntu2.33 | < 2:9.1.0016-1ubuntu7.17 | < 2:9.1.0967-1ubuntu6.8 | < 2:9.1.2141-1ubuntu4.6
Vim1 product
- vim< 9.2.0662
4 vendors · 4 products