vim has 21 CVEs on record between 2023 and 2026. Disclosure cadence is accelerating: 5 in the last 90 days against 3 in the 90 before. The busiest recent month was August 2026 with 5. The median CVSS is 5.5 (medium). None have a confirmed exploitation report. The dominant weakness classes are CWE-190 (7) and CWE-94 (4).
CVEs per month
Last 12 months, by publish date
- Exploited share
- 0% vs 1% corpus
- Median CVSS
- 5.5
- Publish → KEV
- —
- Last 90 days
- 5 prev 3
Worst active — by depth score
CVE-2026-47162High· 8.8Vim is an open source, command line text editor48CVE-2026-73078High· 8.6Vim is an open source, command line text editor47CVE-2026-73077High· 8.4Vim is an open source, command line text editor46CVE-2026-73076High· 8.4Vim is an open source, command line text editor46CVE-2026-34982High· 8.2Vim is an open source, command line text editor45
vim vulnerabilities
CVEs affecting vim, newest first. Open any entry for full detail, references, and exploit status.
21 CVEsRSS
CVE-2026-43961High· 7.8A flaw was found in Vim's netrw plugin
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 levera…
CVE-2026-73070Medium· 5.5Vim is an open source, command line text editor
Vim is an open source, command line text editor. Prior to 9.2.0842, the socket server backend in src/socketserver.c accepts unbounded client connections in socketserver_accept(), causing descriptors to overflow fd_set structures in src/c…
CVE-2026-73077High· 8.4Vim is an open source, command line text editor
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 keywo…
CVE-2026-73078High· 8.6Vim is an open source, command line text editor
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 at…
CVE-2026-73076High· 8.4Vim is an open source, command line text editor
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#RmVimb…
CVE-2026-52860High· 7.8Vim is an open source, command line text editor
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 dicti…
CVE-2026-47162High· 8.8Vim is an open source, command line text editor
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 br…
CVE-2026-34982High· 8.2Vim is an open source, command line text editor
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` option…
CVE-2026-32249Medium· 5.3Vim is an open source, command line text editor
Vim is an open source, command line text editor. From 9.1.0011 to before 9.2.0137, Vim's NFA regex compiler, when encountering a collection containing a combining character as the endpoint of a character range (e.g. [0-0\u05bb]), incorre…
CVE-2023-48237Low· 2.8Vim is an open source command line text editor
Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is requir…
CVE-2023-48236Low· 2.8Vim is an open source command line text editor
Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger than MAX_INT. Impact is low, user interaction is required and a crash may not even happen in all situations. Th…
CVE-2023-48235Low· 2.8Vim is an open source command line text editor
Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX -…
CVE-2023-48234Low· 2.8Vim is an open source command line text editor
Vim is an open source command line text editor. When getting the count for a normal mode z command, it may overflow for large counts given. Impact is low, user interaction is required and a crash may not even happen in all situations. Th…
CVE-2023-48233Low· 2.8Vim is an open source command line text editor
Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Impact is low, user interaction is required and a crash may not even …
CVE-2023-48232Low· 3.9Vim is an open source command line text editor
Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. This may happen when a wi…
CVE-2023-48231Low· 3.9Vim is an open source command line text editor
Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in c…
CVE-2023-46246Medium· 4.0Vim is an improved version of the good old UNIX editor Vi
Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_…
CVE-2023-4736High· 7.8Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
CVE-2023-4735High· 7.8Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
CVE-2023-2610High· 7.8Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1532.
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1532.
CVE-2023-2609Medium· 5.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1531.
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1531.