CyberSecBulletin

Vim vulnerabilities

We track 44 vulnerabilities in Vim products across 2 products. 44 are rated high or critical, and none are known to be exploited. The most recent was published on August 19, 2026.

44vulnerabilities
0critical
44high
0exploited
7.8average CVSS score

Latest Vim vulnerabilities

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-43961Vim

    A flaw was found in Vim's netrw plugin. A crafted filename containing quote characters and expression fragments can break out of the quoted context during mark/unmark operations, allowing arbitrary Vimscript execution. This can be leveraged to run shell comman

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-73073Vim

    Vim is an open source, command line text editor. Prior to 9.2.0845, StructMembers() in runtime/autoload/ccomplete.vim constructs and executes a vimgrep command using an insufficiently escaped typeref: or typename: value from a tags file, allowing an unterminat

  • 8.8 High severity

    vim: Improper Neutralization of Special Elements used in a Command

    CVE-2026-73078Vim

    Vim is an open source, command line text editor. Prior to 9.2.0840, runtime/plugin/netrwPlugin.vim loads netrw and runtime/pack/dist/opt/netrw/autoload/netrw.vim constructs Bookmarks, History, and Targets menu entries by interpolating attacker-controlled direc

  • 7.8 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-73077Vim

    Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugin/sh.vim, runtime/ftplugin/zsh.vim, and runtime/ftplugin/ps1.vim filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-73076Vim

    Vim is an open source, command line text editor. Prior to 9.2.0847, runtime/autoload/vimball.vim allows a crafted vimball member named .VimballRecord to overwrite the installation record with attacker-chosen commands. When vimball#RmVimball() later processes t

  • 7.3 High severity

    vim: Heap-based Buffer Overflow

    CVE-2026-73072Vim

    Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/spellfile.c reuses sl_sal_first[] without resetting values left by set_sal_first(), so a crafted spell file containing an SN_SAL section before an SN_SOFO section causes unde

  • 7.7 High severity

    Vim: Improper Control of Generation of Code

    CVE-2026-51401Vim

    An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fixfilename() function within file vim/src/os_vms.c

  • 8.4 High severity

    Vim: Missing Release of Memory after Effective Lifetime

    CVE-2026-51400Vim

    An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fixfilename() function within file vim/src/os_vms.c

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-59858Vim

    Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run thr

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-59856Vim

    Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-57456Vim

    Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec()

  • 7.8 High severity

    vim: Out-of-bounds Write

    CVE-2026-57455Vim

    Vim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spell_soundfold_sofo() in src/spell.c translates a word through a spell file's SOFO (sound-folding) byte map into a caller-owned result buffer. Its copy loop advances

  • 7.3 High severity

    vim: Improper Neutralization of Special Elements used in a Command

    CVE-2026-57453Vim

    Vim is an open source, command line text editor. From 9.1.1784 until 9.2.0678, when the bundled zip plugin autoload/zip.vim falls back to PowerShell to browse, read, extract, update or delete entries in a zip archive, it builds the PowerShell command by insert

  • 7.8 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-55895Vim

    Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A file

  • 7.8 High severity

    vim: Out-of-bounds Write

    CVE-2026-55693Vim

    Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_words() function in src/spellfile.c fills in the word-count fields of a spell-file word trie by walking it iteratively with a depth counter. The counter is bounded only by the t

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-52860Vim

    Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Python omni-completion executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. Python evaluates

  • 8.2 High severity

    vim: Out-of-bounds Read

    CVE-2026-52859Vim

    Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_snapshot() function in src/terminal.c copies the visible terminal screen into the scrollback buffer when a snapshot is taken. For each screen cell it walks the cell's chars[

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-52858Vim

    Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) execu

  • 8.8 High severity

    vim: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-47162Vim

    Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths t

  • 7.0 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-46483Vim

    Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d command

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-39881Vim

    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 define

  • 7.1 High severity

    vim: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-35177Vim

    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 vulne

  • 8.2 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-34982Vim

    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`, `guitabtooltip` and `printheader` options are missing the `P_ML

  • 8.6 High severity

    Vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-34714Vim

    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.

  • 7.3 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-33412Vim

    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

  • 7.8 High severity

    Vim is an open source, command line text editor.

    CVE-2026-28421Vim

    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 swa

  • 7.8 High severity

    vim: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-28417VimEPSS 1.35%

    Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the `netrw` standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the `scp://` protocol handler), an a

  • 7.5 High severity

    vim: Stack-based Buffer Overflow

    CVE-2026-26269Vim

    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 buf

  • 7.8 High severity

    vim: Uncontrolled Search Path Element

    CVE-2025-66476Vim

    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 u

  • 8.8 High severity

    vim: Double Free

    CVE-2025-55158Vim

    Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1406, when processing nested tuples during Vim9 script import operations, an error during evaluation can trigger a double-free in Vim’s internal typed value (typval_T) man

  • 8.8 High severity

    vim: Use After Free

    CVE-2025-55157Vim

    Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the

  • 7.1 High severity

    vim: Improper Neutralization of Special Elements used in a Command

    CVE-2025-27423VimEPSS 22.5%

    Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append b

  • 7.8 High severity

    vim: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-1215Vim

    A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host.

  • 7.8 High severity

    Vim: Out-of-bounds Write

    CVE-2024-22667Vim

    Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.

  • 7.8 High severity

    Vim: NULL Pointer Dereference

    CVE-2022-47024Vim

    A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse in gui_x11.c in vim 8.1.2269 thru 9.0.0339 allows attackers to cause denial of service or other unspecified impacts.

  • 7.8 High severity

    vim/vim: Out-of-bounds Write

    CVE-2022-4141Vim

    Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.

  • 7.5 High severity

    vim: Use After Free

    CVE-2022-3705VimEPSS 1.68%

    A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgr

  • 7.8 High severity

    vim/vim: Out-of-bounds Read

    CVE-2022-1720VimEPSS 2.18%

    Buffer Over-read in function grab_file_name in GitHub repository vim/vim prior to 8.2.4956. This vulnerability is capable of crashing the software, memory modification, and possible remote execution.

  • 7.8 High severity

    vim/vim: Out-of-bounds Read

    CVE-2022-1629VimEPSS 1.91%

    Buffer Over-read in function find_next_quote in GitHub repository vim/vim prior to 8.2.4925. This vulnerabilities are capable of crashing software, Modify Memory, and possible remote execution

  • 7.8 High severity

    vim/vim: Out-of-bounds Write

    CVE-2022-1621VimEPSS 2.38%

    Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution