CVE-2025-26603 | heap-use-after-free in function str_to_reg in vim/vim

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-18 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2025-26603 は低リスク(21.3/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.22%、12 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-26603 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.05% 0.22% +0.17%
2 2025-11-21 0.08% 0.05% -0.04%
3 2025-11-18 0.08%

EPSS の全履歴 (全 4 件)

CVE-2025-26603 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.2 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
0.8 3.4 [email protected]

CVE-2025-26603 の弱点分類(列挙)

CVE-2025-26603 の OS トラッカー

vendor priority summary link
alpine CVE-2025-26603: 1 source package rows (vim); 215 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 2, open 213. https://security.alpinelinux.org/vuln/CVE-2025-26603
debian unimportant CVE-2025-26603 unimportant priority: Debian including 1 source packages (vim), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2025-26603
redhat low https://access.redhat.com/security/cve/CVE-2025-26603
suse medium CVE-2025-26603 severity moderate: SUSE including 6 source package names (gvim, vim, vim-data, vim-data-common, vim-small, xxd), 168 product×package rows across 41 product lines (SLES-LTSS-TERADATA 15 SP2, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, … (41 product lines)): Known Not Affected 168. https://www.suse.com/security/cve/CVE-2025-26603/
ubuntu medium CVE-2025-26603 medium priority: Ubuntu including 1 source packages (vim), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2025-26603

CVE-2025-26603 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
vim vim < 9.1.1115 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
netapp hci_compute_node cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*

CVE-2025-26603 の参考情報

cvelogic Threat Intelligence