[security][HIGH] vim 9.1.1552: 9 CVE require triage #4
Labels
No labels
ai-summary
bot
cve
llm-analysis
needs-build
needs-triage
priority/medium
security
severity-high
source-nvd
update/minor
update/patch
upstream-update
upstream/github
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/vim#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CVE triage request / Запрос на разбор CVE
Package / Пакет
vim9.1.15529.1.1552-1standardleaf-base-teamHIGH8.69LLM recommendation / Рекомендация LLM
RU
Найдено 9 кандидатов на уязвимости (CVE) для пакета vim версии 9.1.1552. Большинство из них относятся к версиям 9.2.x, однако CVE-2025-66476 затрагивает ветку 9.1.x (до 9.1.1947). Требуется тщательная триаж для подтверждения применимости к текущей платформе и архитектуре.
Провести ручную проверку (triage) каждого CVE. Установить пакет на тестовую систему, проверить наличие уязвимых функций (например, netrw, netbeans, swap file recovery) и воспроизвести условия эксплуатации. Для CVE-2025-66476 проверить, используется ли Windows и cmd.exe.
Рекомендуемое действие:
needs_triageПодсказка по целевой версии:
9.1.1947Проверки: 1. Проверить версию vim и наличие патчей безопасности в changelog.
2. Для CVE-2025-66476: Проверить ОС (Windows) и shell (cmd.exe).
3. Для CVE-2026-34714, 34982, 28417, 39881, 26269, 33412, 35177: Проверить наличие соответствующих плагинов (netrw, netbeans, zip.vim) и опций (guitabtooltip, printheader, mapset) в конфигурации vim.
4. Попытаться воспроизвести эксплойт с использованием crafted файлов или URL.
Риски: Выполнение произвольного кода (RCE) при открытии файлов, инъекция команд через URL или плагины, переполнение буфера и утечка памяти при работе с swap-файлами. Уязвимости могут быть эксплуатированы локально или удаленно в зависимости от контекста использования.
EN
9 CVE candidates identified for package vim version 9.1.1552. Most relate to version 9.2.x, but CVE-2025-66476 affects the 9.1.x branch (prior to 9.1.1947). Rigorous triage is required to confirm applicability to the current platform and architecture.
Perform manual triage for each CVE. Install the package on a test system, verify the presence of vulnerable features (e.g., netrw, netbeans, swap file recovery), and reproduce exploitation conditions. For CVE-2025-66476, verify if Windows and cmd.exe are in use.
Recommended action:
needs_triageTarget version hint:
9.1.1947Tests: 1. Verify vim version and security patches in changelog.
2. For CVE-2025-66476: Check OS (Windows) and shell (cmd.exe).
3. For CVE-2026-34714, 34982, 28417, 39881, 26269, 33412, 35177: Check for presence of relevant plugins (netrw, netbeans, zip.vim) and options (guitabtooltip, printheader, mapset) in vim configuration.
4. Attempt to reproduce the exploit using crafted files or URLs.
Risks: Arbitrary code execution (RCE) upon opening files, command injection via URLs or plugins, buffer overflow and memory leak when handling swap files. Vulnerabilities may be exploited locally or remotely depending on usage context.
CVE candidates from NVD/CPE
Descriptions
CVE-2026-34714
Vim before 9.2.0272 allows code execution that happens immediately upon opening a crafted file in the default configuration, because %{expr} injection occurs with tabpanel lacking P_MLE.
CVE-2026-34982
Vim is an open source, command line text editor. Prior to version 9.2.0276, a modeline sandbox bypass in Vim allows arbitrary OS command execution when a user opens a crafted file. The
complete,guitabtooltipandprintheaderoptions are missing theP_MLEflag, allowing a modeline to be executed. Additionally, themapset()function lacks acheck_secure()call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.CVE-2025-66476
Vim is an open source, command line text editor. Prior to version 9.1.1947, an uncontrolled search path vulnerability on Windows allows Vim to execute malicious executables placed in the current working directory for the current edited file. On Windows, when using cmd.exe as a shell, Vim resolves external commands by searching the current working directory before system paths. When Vim invokes tools such as findstr for :grep, external commands or filters via :!, or compiler/:make commands, it may inadvertently run a malicious executable present in the same directory as the file being edited. The issue affects Vim for Windows prior to version 9.1.1947.
CVE-2026-28417
Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the
netrwstandard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using thescp://protocol handler), an attacker can execute arbitrary shell commands with the privileges of the Vim process. Version 9.2.0073 fixes the issue.CVE-2026-28421
Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap-buffer-overflow and a segmentation fault (SEGV) exist in Vim's swap file recovery logic. Both are caused by unvalidated fields read from crafted pointer blocks within a swap file. Version 9.2.0077 fixes the issue.
CVE-2026-39881
Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.
CVE-2026-26269
Vim is an open source, command line text editor. Prior to 9.1.2148, a stack buffer overflow vulnerability exists in Vim's NetBeans integration when processing the specialKeys command, affecting Vim builds that enable and use the NetBeans feature. The Stack buffer overflow exists in special_keys() (in src/netbeans.c). The while (*tok) loop writes two bytes per iteration into a 64-byte stack buffer (keybuf) with no bounds check. A malicious NetBeans server can overflow keybuf with a single specialKeys command. The issue has been fixed as of Vim patch v9.1.2148.
CVE-2026-33412
Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.
CVE-2026-35177
Vim is an open source, command line text editor. Prior to 9.2.0280, a path traversal bypass in Vim's zip.vim plugin allows overwriting of arbitrary files when opening specially crafted zip archives, circumventing the previous fix for CVE-2025-53906. This vulnerability is fixed in 9.2.0280.
Maintainer checklist
affected,fixed,not_affected,false_positive,deferred, ornot_in_cloud_image.niceos_cve_triageentry.NICE-SAadvisory if a security update is shipped.Machine metadata
Fixed in
vim-9.2.0420-1on branchniceos-5.2.Triage result:
--disable-netbeans.--disable-netbeans.Verification:
niceos-5.2containsvim-9.2.0420-1.SOURCES/sources.lock.jsonpoints tovim-9.2.0420.tar.gz.vim --versionconfirms version 9.2.0420.vim --versionconfirms-netbeansin the NiceOS build.Closing as fixed.