🛡️ CVE-2026-55892 on Ubuntu — vim
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.
Distribution advisory
This page covers CVE-2026-55892 as tracked by Ubuntu, for the package vim. The fix is available in version 2:9.1.2141-1ubuntu4.6; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
UBUNTU-CVE-2026-55892 is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.
Affected software
UBUNTU-CVE-2026-55892 is recorded against 1 package.
- vim (fixed in 2:9.1.2141-1ubuntu4.6)
Timeline and source
Published on 25 June 2026 and last revised on 2 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
ubuntu.com (Advisory)
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| vim | — | 2:9.1.2141-1ubuntu4.6 |
References
Similar Threats
- Unknown ALPINE-CVE-2021-46059
- Unknown ALPINE-CVE-2021-4192
- Unknown ALPINE-CVE-2021-4193
- Unknown ALPINE-CVE-2021-4187
- Unknown ALPINE-CVE-2021-4173
Vulnerability Monitoring
Track new vulnerabilities in vim
UBUNTU-CVE-2026-55892 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.