目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-80431— Kitty 终端越界写入漏洞

一分钟漏洞结论

影响对象
Kovid Goyal kitty
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

在 kitty 终端模拟器 0.40.0 至 0.49.0(不含 0.49.0)版本中,文本大小写协议的“自然宽度分支”存在一处越界写入漏洞。该漏洞允许向终端写入的程序向固定大小缓冲区末尾之外写入数据。 具体而言,kitty/screen.c 中的 函数在将图形簇(grapheme cluster)的每个码位追加到缓冲区时,执行 操作,但未进行任何容量检查。其中, 是通过 RAII_ListOfChars 宏在函数栈帧中声明的一个包含四个元素的 数组。因此,当 OSC 66 转义码的有效载荷中包含长度超过四个码位的

CVSS 6.8 · Medium EPSS 0.14% · P3
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-80431 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Out-of-bounds write in the kitty text sizing protocol allows termination of the terminal process
来源: CVE Program / CVE List V5
Vulnerability Description
Out-of-bounds Write in the natural width branch of the text sizing protocol in kitty from 0.40.0 before 0.49.0 allows a program writing to the terminal to write past the end of a fixed-size buffer, because screen_handle_multicell_command() in kitty/screen.c appends each codepoint of a grapheme cluster with lc.chars[lc.count++] = ch without any capacity check, while lc is declared by the RAII_ListOfChars macro as a four-element char_type array in the function's stack frame, so an OSC 66 escape code whose payload carries a grapheme cluster longer than four codepoints writes beyond that buffer, one 32-bit value per additional codepoint, in the order the codepoints appear. Where the cluster is preceded in the same payload by a sequence that causes an intermediate flush, the buffer is first migrated to the heap by ensure_space_for_chars() and the write occurs past the heap allocation instead. This results in termination of the kitty process and therefore of all its windows, tabs and child processes.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Kovid Goyal kitty 0.40.0 ~ 0.49.0 -

二、漏洞 CVE-2026-80431 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-80431 的情报信息

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

CVE-2026-80431 其他参考 (3)

同批安全公告 · Kovid Goyal · 2026-09-25 · 共 6 条

CVE-2026-95832 9.3 CRITICAL Kitty终端反射命令执行漏洞
CVE-2026-80432 6.0 MEDIUM Kitty拖放协议缺失授权漏洞
CVE-2026-95835 5.6 MEDIUM Kitty Askpass 共享内存对象所有权检查缺失漏洞
CVE-2026-80430 4.6 MEDIUM Kitty拖放协议链接解析不当导致任意文件创建漏洞
CVE-2026-95834 4.6 MEDIUM Kitty 拖拽协议释放后使用漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-80431

暂无评论


发表评论