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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55693— Vim: Out-of-bounds Write in Spell File Word Count

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.0653之前版本存在缓冲区错误漏洞,该漏洞源于tree_count_words()函数在src/spellfile.c中未检查深度计数器与固定栈数组边界,导致堆栈越界写入,可能使攻击者通过特制.spl/.sug文件对编辑器造成崩溃。

AI Predicted 5.5 Difficulty: Hard EPSS 0.12% · P2

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-55693

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 Word Count
Source: CVE Program / CVE List V5
Vulnerability Description
Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_words() function in src/spellfile.c fills in the word-count fields of a spell-file word trie by walking it iteratively with a depth counter. 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 (arridx[], curi[], wordcount[]). A crafted .spl/.sug file pair, loaded when the user invokes spell suggestion, 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.0653.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
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.0653之前版本存在缓冲区错误漏洞,该漏洞源于tree_count_words()函数在src/spellfile.c中未检查深度计数器与固定栈数组边界,导致堆栈越界写入,可能使攻击者通过特制.spl/.sug文件对编辑器造成崩溃。
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.0653 -

II. Public POCs for CVE-2026-55693

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

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

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

Vendor Advisories for CVE-2026-55693 (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-55892 5.5 MEDIUM Vim: Out-of-bounds Write in Spell File Prefix Dump
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

IV. Related Vulnerabilities

V. Comments for CVE-2026-55693

No comments yet


Leave a comment