登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
11
Star
0
Fork
65
src-openEuler
/
vim
代码
Issues
2
Pull Requests
1
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2025-26603
已完成
#IBN888
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2025-02-19 09:55
一、漏洞信息 漏洞编号:[CVE-2025-26603](https://nvd.nist.gov/vuln/detail/CVE-2025-26603) 漏洞归属组件:[vim](https://gitee.com/src-openeuler/vim) 漏洞归属的版本:8.2,9.0,9.0.2092,9.1.0764,9.1.1019 CVSS V3.0分值: BaseScore:4.2 Medium Vector:CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L 漏洞简述: Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the `:redir` ex command to register, variables and files. It also allows to show the contents of registers using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the `+` and `*` registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers `*` or `+`. Users are advised to upgrade. There are no known workarounds for this vulnerability. 漏洞公开时间:2025-02-19 03:15:29 漏洞创建时间:2025-02-19 09:55:08 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-26603 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | | security-advisories.github.com | https://github.com/vim/vim/security/advisories/GHSA-63p5-mwg2-787v | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-26603 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-26603 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://github.com/vim/vim/security/advisories/GHSA-63p5-mwg2-787v | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | security-advisories.github.com | | | | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | suse_bugzilla | </details> 二、漏洞分析结构反馈 影响性分析说明: Vim 的 :redir 命令中发现了一个缺陷。此漏洞通过将 :display 命令重定向到剪贴板寄存器(* 或 +)来允许使用释放后使用的情况,从而允许访问已释放的内存。此漏洞被标记为低影响,因为它要求用户运行不受信任/恶意的 Vim 命令。不应运行不受信任的 Vim 脚本,因为它们已经可以执行任意 shell 命令。 openEuler评分: 4.2 Vector:CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(9.1.0764):受影响 2.openEuler-20.03-LTS-SP4:受影响 3.openEuler-22.03-LTS-SP3(9.0):受影响 4.openEuler-22.03-LTS-SP4(9.0):受影响 5.openEuler-24.03-LTS(9.0.2092):受影响 6.openEuler-24.03-LTS-Next(9.0.2092):受影响 7.openEuler-24.03-LTS-SP1(9.0.2092):受影响 修复是否涉及abi变化(是/否): 1.master(9.1.0764):否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS-SP3(9.0):否 4.openEuler-22.03-LTS-SP4(9.0):否 5.openEuler-24.03-LTS(9.0.2092):否 6.openEuler-24.03-LTS-Next(9.0.2092):否 7.openEuler-24.03-LTS-SP1(9.0.2092):否 原因说明: 1.master(9.1.0764):正常修复 2.openEuler-20.03-LTS-SP4:正常修复 3.openEuler-22.03-LTS-SP3(9.0):正常修复 4.openEuler-22.03-LTS-SP4(9.0):正常修复 5.openEuler-24.03-LTS(9.0.2092):正常修复 6.openEuler-24.03-LTS-Next(9.0.2092):正常修复 7.openEuler-24.03-LTS-SP1(9.0.2092):正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1231
一、漏洞信息 漏洞编号:[CVE-2025-26603](https://nvd.nist.gov/vuln/detail/CVE-2025-26603) 漏洞归属组件:[vim](https://gitee.com/src-openeuler/vim) 漏洞归属的版本:8.2,9.0,9.0.2092,9.1.0764,9.1.1019 CVSS V3.0分值: BaseScore:4.2 Medium Vector:CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L 漏洞简述: Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the `:redir` ex command to register, variables and files. It also allows to show the contents of registers using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the `+` and `*` registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers `*` or `+`. Users are advised to upgrade. There are no known workarounds for this vulnerability. 漏洞公开时间:2025-02-19 03:15:29 漏洞创建时间:2025-02-19 09:55:08 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-26603 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | | security-advisories.github.com | https://github.com/vim/vim/security/advisories/GHSA-63p5-mwg2-787v | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-26603 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-26603 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | | suse_bugzilla | https://github.com/vim/vim/security/advisories/GHSA-63p5-mwg2-787v | https://bugzilla.suse.com/show_bug.cgi?id=1237359 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | security-advisories.github.com | | | | https://github.com/vim/vim/commit/c0f0e2380e5954f4a52a131bf6b8 | | suse_bugzilla | </details> 二、漏洞分析结构反馈 影响性分析说明: Vim 的 :redir 命令中发现了一个缺陷。此漏洞通过将 :display 命令重定向到剪贴板寄存器(* 或 +)来允许使用释放后使用的情况,从而允许访问已释放的内存。此漏洞被标记为低影响,因为它要求用户运行不受信任/恶意的 Vim 命令。不应运行不受信任的 Vim 脚本,因为它们已经可以执行任意 shell 命令。 openEuler评分: 4.2 Vector:CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(9.1.0764):受影响 2.openEuler-20.03-LTS-SP4:受影响 3.openEuler-22.03-LTS-SP3(9.0):受影响 4.openEuler-22.03-LTS-SP4(9.0):受影响 5.openEuler-24.03-LTS(9.0.2092):受影响 6.openEuler-24.03-LTS-Next(9.0.2092):受影响 7.openEuler-24.03-LTS-SP1(9.0.2092):受影响 修复是否涉及abi变化(是/否): 1.master(9.1.0764):否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS-SP3(9.0):否 4.openEuler-22.03-LTS-SP4(9.0):否 5.openEuler-24.03-LTS(9.0.2092):否 6.openEuler-24.03-LTS-Next(9.0.2092):否 7.openEuler-24.03-LTS-SP1(9.0.2092):否 原因说明: 1.master(9.1.0764):正常修复 2.openEuler-20.03-LTS-SP4:正常修复 3.openEuler-22.03-LTS-SP3(9.0):正常修复 4.openEuler-22.03-LTS-SP4(9.0):正常修复 5.openEuler-24.03-LTS(9.0.2092):正常修复 6.openEuler-24.03-LTS-Next(9.0.2092):正常修复 7.openEuler-24.03-LTS-SP1(9.0.2092):正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1231
评论 (
18
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
wjiang
fwo
负责人
协作者
+负责人
+协作者
标签
CVE/FIXED
sig/Base-service
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (29)
标签 (45)
master
openEuler-25.09
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-22.03-LTS-SP3
openEuler-24.03-LTS-Next
openEuler-22.03-LTS-SP4
openEuler-20.03-LTS-SP4
openEuler-24.03-LTS-SP2
openEuler-25.03
openEuler-22.03-LTS-SP1
openEuler-24.09
openEuler-20.03-LTS-SP1
openEuler-22.03-LTS
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-23.09
openEuler-23.03
openEuler-22.09
sync-pr325-master-to-openEuler-22.09
openEuler-21.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS
openEuler-20.03-LTS-Next
openEuler-21.03
openEuler-20.09
openEuler1.0-base
openEuler1.0
openEuler-20.03-LTS-SP4-update-20250808
openEuler-24.03-LTS-update-20250808
openEuler-24.03-LTS-SP1-update-20250808
openEuler-22.03-LTS-SP3-update-20250801
openEuler-22.03-LTS-SP4-update-20250801
openEuler-24.03-LTS-SP2-update-20250801
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-20.03-LTS-SP4-update-20250329
openEuler-22.03-LTS-SP4-update-20250329
openEuler-22.03-LTS-SP3-update-20250329
openEuler-24.03-LTS-SP1-update-20250329
openEuler-24.03-LTS-update-20250329
openEuler-24.03-LTS-update-20250228
openEuler-24.03-LTS-SP1-update-20250228
openEuler-22.03-LTS-SP3-update-20250228
openEuler-22.03-LTS-SP4-update-20250228
openEuler-20.03-LTS-SP4-update-20250228
openEuler-24.03-LTS-update-20250214
openEuler-24.03-LTS-SP1-update-20250214
openEuler-22.03-LTS-SP4-update-20250214
openEuler-22.03-LTS-SP3-update-20250214
openEuler-20.03-LTS-SP4-update-20250214
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-update-before-20241025
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/vim.git
git@gitee.com:src-openeuler/vim.git
src-openeuler
vim
vim
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册