漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Vim: Out-of-bounds Write in Spell File Prefix Dump
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.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Vulnerability Type
跨界内存写
Vulnerability Title
Vim 缓冲区错误漏洞
Vulnerability Description
Vim是Vim组织开源的一款跨平台的文本编辑器。 Vim 9.2.0662之前版本存在缓冲区错误漏洞,该漏洞源于dump_prefixes()函数在遍历拼写文件前缀树时,深度计数器仅受树结构自身限制,未检查固定大小栈数组的索引边界,导致栈越界写入,可能破坏调用帧并导致编辑器崩溃。
CVSS Information
N/A
Vulnerability Type
N/A