Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
vim vim
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vim是Vim组织开源的一款跨平台的文本编辑器。 Vim 9.2.0662之前版本存在缓冲区错误漏洞,该漏洞源于dump_prefixes()函数在遍历拼写文件前缀树时,深度计数器仅受树结构自身限制,未检查固定大小栈数组的索引边界,导致栈越界写入,可能破坏调用帧并导致编辑器崩溃。

CVSS 5.5 · Medium EPSS 0.17% · P6

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
vim vim < 9.2.0662 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55892

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Vim: Out-of-bounds Write in Spell File Prefix Dump
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
Vim 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vim是Vim组织开源的一款跨平台的文本编辑器。 Vim 9.2.0662之前版本存在缓冲区错误漏洞,该漏洞源于dump_prefixes()函数在遍历拼写文件前缀树时,深度计数器仅受树结构自身限制,未检查固定大小栈数组的索引边界,导致栈越界写入,可能破坏调用帧并导致编辑器崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vim vim < 9.2.0662 -

II. Public POCs for CVE-2026-55892

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55892

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-55892 (2)

Vendor Advisories for CVE-2026-55892 (1)

Same Patch Batch · vim · 2026-06-25 · 9 CVEs total

CVE-2026-57453 6.5 MEDIUM Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction
CVE-2026-57452 5.5 MEDIUM Vim: Out-of-bounds Read with libsodium-encrypted Files
CVE-2026-57451 5.3 MEDIUM Vim: Out-of-bounds Read in Text Property Count
CVE-2026-57456 Vim: Arbitrary Code Execution via Python Omni-Completion Docstrings
CVE-2026-57455 Vim: Stack out-of-bounds write in `spell_soundfold_sofo()` via an over-length `soundfold()
CVE-2026-57454 Vim: Out-of-bounds Read with Text Properties
CVE-2026-55895 Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename
CVE-2026-55693 Vim: Out-of-bounds Write in Spell File Word Count

IV. Related Vulnerabilities

V. Comments for CVE-2026-55892

No comments yet


Leave a comment