Image

Vim — Known Vulnerabilities

232 vulnerabilities mapped against this product across all versions. Grouped by the release each fix landed in — newest tracked release v2025-66476.
Still affects the latest release (v2025-66476) 13
CVE-2017-6349 Affects current release CVSS 9.8 · Critical NVD ↗ Feb 27, 2017
An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer…
CVE-2017-6350 Affects current release CVSS 9.8 · Critical NVD ↗ Feb 27, 2017
An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer…
CVE-2017-5953 Affects current release CVSS 9.8 · Critical NVD ↗ Feb 10, 2017
vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.
CVE-2008-4101 Affects current release CVSS 9.3 · High NVD ↗ Sep 18, 2008
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command,…
CVE-2008-2712 Affects current release CVSS 9.3 · High NVD ↗ Jun 16, 2008
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4)…
CVE-2022-47024 Affects current release CVSS 7.8 · High NVD ↗ Jan 20, 2023
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.
CVE-2022-4141 Affects current release CVSS 7.8 · High NVD ↗ Nov 25, 2022
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.
CVE-2021-4187 Affects current release CVSS 7.8 · High NVD ↗ Dec 29, 2021
vim is vulnerable to Use After Free
CVE-2016-1248 Affects current release CVSS 7.8 · High NVD ↗ Nov 23, 2016
vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.
CVE-2009-0316 Affects current release CVSS 6.9 · Medium NVD ↗ Jan 28, 2009
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the…
CVE-2025-22134 Affects current release CVSS 5.5 · Medium NVD ↗ Jan 13, 2025
When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end…
CVE-2022-0714 Affects current release CVSS 5.5 · Medium NVD ↗ Feb 22, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4436.
CVE-2017-1000382 Affects current release CVSS 5.5 · Medium NVD ↗ Oct 31, 2017
VIM version 8.0.1187 (and other versions most likely) ignores umask when creating a swap file ("[ORIGINAL_FILENAME].swp") resulting in files that may be world readable or otherwise accessible in ways not intended by the user running the vi binary.
Fixed in v9.x 122
CVE-2022-3520 Fixed in 9.0.0765 CVSS 9.8 · Critical NVD ↗ Dec 2, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
CVE-2026-34714 Fixed in 9.2.0272 CVSS 8.6 · High NVD ↗ Mar 30, 2026
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 Fixed in 9.2.0276 CVSS 8.2 · High NVD ↗ Apr 6, 2026
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…
CVE-2026-39881 Fixed in 9.2.0316 CVSS 7.8 · High NVD ↗ Apr 8, 2026
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…
CVE-2026-28421 Fixed in 9.2.0077 CVSS 7.8 · High NVD ↗ Feb 27, 2026
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…
CVE-2026-28417 Fixed in 9.2.0073 CVSS 7.8 · High NVD ↗ Feb 27, 2026
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…
CVE-2025-66476 Fixed in 9.1.1947 CVSS 7.8 · High NVD ↗ Dec 2, 2025
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…
CVE-2024-22667 Fixed in 9.0.2142 CVSS 7.8 · High NVD ↗ Feb 5, 2024
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.
CVE-2023-5535 Fixed in 9.0.2010 CVSS 7.8 · High NVD ↗ Oct 11, 2023
Use After Free in GitHub repository vim/vim prior to v9.0.2010.
CVE-2023-4781 Fixed in 9.0.1873 CVSS 7.8 · High NVD ↗ Sep 5, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.
CVE-2023-4750 Fixed in 9.0.1857 CVSS 7.8 · High NVD ↗ Sep 4, 2023
Use After Free in GitHub repository vim/vim prior to 9.0.1857.
CVE-2023-4752 Fixed in 9.0.1858 CVSS 7.8 · High NVD ↗ Sep 4, 2023
Use After Free in GitHub repository vim/vim prior to 9.0.1858.
CVE-2023-4733 Fixed in 9.0.1840 CVSS 7.8 · High NVD ↗ Sep 4, 2023
Use After Free in GitHub repository vim/vim prior to 9.0.1840.
CVE-2023-4751 Fixed in 9.0.1331 CVSS 7.8 · High NVD ↗ Sep 3, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.
CVE-2023-4738 Fixed in 9.0.1848 CVSS 7.8 · High NVD ↗ Sep 2, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.
CVE-2023-4736 Fixed in 9.0.1833 CVSS 7.8 · High NVD ↗ Sep 2, 2023
Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.
CVE-2023-4735 Fixed in 9.0.1847 CVSS 7.8 · High NVD ↗ Sep 2, 2023
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
CVE-2023-4734 Fixed in 9.0.1846 CVSS 7.8 · High NVD ↗ Sep 2, 2023
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846.
CVE-2023-3896 Affects 9.0.1367–9.0.1367 CVSS 7.8 · High NVD ↗ Aug 7, 2023
Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3
CVE-2023-2610 Fixed in 9.0.1532 CVSS 7.8 · High NVD ↗ May 9, 2023
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1532.
CVE-2023-1127 Fixed in 9.0.1367 CVSS 7.8 · High NVD ↗ Mar 1, 2023
Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.
CVE-2023-0512 Fixed in 9.0.1247 CVSS 7.8 · High NVD ↗ Jan 30, 2023
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
CVE-2023-0433 Fixed in 9.0.1225 CVSS 7.8 · High NVD ↗ Jan 21, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1225.
CVE-2023-0288 Fixed in 9.0.1189 CVSS 7.8 · High NVD ↗ Jan 13, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1189.
CVE-2023-0054 Fixed in 9.0.1145 CVSS 7.8 · High NVD ↗ Jan 4, 2023
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1145.
CVE-2023-0051 Fixed in 9.0.1144 CVSS 7.8 · High NVD ↗ Jan 4, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.
CVE-2023-0049 Fixed in 9.0.1143 CVSS 7.8 · High NVD ↗ Jan 4, 2023
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.1143.
CVE-2022-4292 Fixed in 9.0.0882 CVSS 7.8 · High NVD ↗ Dec 5, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0882.
CVE-2022-3491 Fixed in 9.0.0742 CVSS 7.8 · High NVD ↗ Dec 3, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.
CVE-2022-3591 Fixed in 9.0.0789 CVSS 7.8 · High NVD ↗ Dec 2, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0789.
CVE-2022-3352 Fixed in 9.0.0614 CVSS 7.8 · High NVD ↗ Sep 29, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0614.
CVE-2022-3324 Fixed in 9.0.0598 CVSS 7.8 · High NVD ↗ Sep 27, 2022
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598.
CVE-2022-3297 Fixed in 9.0.0579 CVSS 7.8 · High NVD ↗ Sep 25, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
CVE-2022-3296 Fixed in 9.0.0577 CVSS 7.8 · High NVD ↗ Sep 25, 2022
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0577.
CVE-2022-3256 Fixed in 9.0.0530 CVSS 7.8 · High NVD ↗ Sep 22, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0530.
CVE-2022-3235 Fixed in 9.0.0490 CVSS 7.8 · High NVD ↗ Sep 18, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0490.
CVE-2022-3234 Fixed in 9.0.0483 CVSS 7.8 · High NVD ↗ Sep 17, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0483.
CVE-2022-3134 Fixed in 9.0.0389 CVSS 7.8 · High NVD ↗ Sep 6, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0389.
CVE-2022-3099 Fixed in 9.0.0360 CVSS 7.8 · High NVD ↗ Sep 3, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0360.
CVE-2022-3037 Fixed in 9.0.0322 CVSS 7.8 · High NVD ↗ Aug 30, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0322.
CVE-2022-3016 Fixed in 9.0.0286 CVSS 7.8 · High NVD ↗ Aug 28, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0286.
CVE-2022-2982 Fixed in 9.0.0260 CVSS 7.8 · High NVD ↗ Aug 25, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0260.
CVE-2022-2946 Fixed in 9.0.0246 CVSS 7.8 · High NVD ↗ Aug 23, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0246.
CVE-2022-2889 Fixed in 9.0.0225 CVSS 7.8 · High NVD ↗ Aug 19, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0225.
CVE-2022-2862 Fixed in 9.0.0221 CVSS 7.8 · High NVD ↗ Aug 17, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0221.
CVE-2022-2849 Fixed in 9.0.0220 CVSS 7.8 · High NVD ↗ Aug 17, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0220.
CVE-2022-2845 Fixed in 9.0.0218 CVSS 7.8 · High NVD ↗ Aug 17, 2022
Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.
CVE-2022-2817 Fixed in 9.0.0213 CVSS 7.8 · High NVD ↗ Aug 15, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0213.
CVE-2022-2816 Fixed in 9.0.0212 CVSS 7.8 · High NVD ↗ Aug 15, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0212.
CVE-2022-2819 Fixed in 9.0.0211 CVSS 7.8 · High NVD ↗ Aug 15, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0211.
CVE-2022-2580 Fixed in 9.0.0102 CVSS 7.8 · High NVD ↗ Aug 1, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
CVE-2022-2581 Fixed in 9.0.0104 CVSS 7.8 · High NVD ↗ Aug 1, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.
CVE-2022-2571 Fixed in 9.0.0101 CVSS 7.8 · High NVD ↗ Aug 1, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0101.
CVE-2022-2522 Fixed in 9.0.0061 CVSS 7.8 · High NVD ↗ Jul 25, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.
CVE-2022-2345 Fixed in 9.0.0046 CVSS 7.8 · High NVD ↗ Jul 8, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.0046.
CVE-2022-2344 Fixed in 9.0.0045 CVSS 7.8 · High NVD ↗ Jul 8, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0045.
CVE-2022-2343 Fixed in 9.0.0044 CVSS 7.8 · High NVD ↗ Jul 8, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.
CVE-2022-2304 Fixed in 9.0.0035 CVSS 7.8 · High NVD ↗ Jul 5, 2022
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
CVE-2022-2289 Fixed in 9.0.0026 CVSS 7.8 · High NVD ↗ Jul 3, 2022
Use After Free in GitHub repository vim/vim prior to 9.0.
CVE-2022-2288 Fixed in 9.0.0025 CVSS 7.8 · High NVD ↗ Jul 3, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.
CVE-2022-2286 Fixed in 9.0.0020 CVSS 7.8 · High NVD ↗ Jul 2, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
CVE-2022-2285 Fixed in 9.0.0018 CVSS 7.8 · High NVD ↗ Jul 2, 2022
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.
CVE-2022-2284 Fixed in 9.0.0017 CVSS 7.8 · High NVD ↗ Jul 2, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
CVE-2022-2264 Fixed in 9.0.0011 CVSS 7.8 · High NVD ↗ Jul 1, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
CVE-2022-2257 Fixed in 9.0.0009 CVSS 7.8 · High NVD ↗ Jun 30, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
CVE-2026-26269 Fixed in 9.1.2148 CVSS 7.5 · High NVD ↗ Feb 13, 2026
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…
CVE-2023-5344 Fixed in 9.0.1969 CVSS 7.5 · High NVD ↗ Oct 2, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969.
CVE-2022-3705 Fixed in 9.0.0805 CVSS 7.5 · High NVD ↗ Oct 26, 2022
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…
CVE-2026-33412 Fixed in 9.2.0202 CVSS 7.3 · High NVD ↗ Mar 24, 2026
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…
CVE-2026-35177 Fixed in 9.2.0280 CVSS 7.1 · High NVD ↗ Apr 6, 2026
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…
CVE-2025-27423 Fixed in 9.1.1164 CVSS 7.1 · High NVD ↗ Mar 3, 2025
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…
CVE-2022-2287 Fixed in 9.0.0021 CVSS 7.1 · High NVD ↗ Jul 2, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
CVE-2026-46483 Fixed in 9.2.0479 CVSS 7.0 · High NVD ↗ May 15, 2026
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 commands using shellescape(tartail)…
CVE-2025-55158 Fixed in 9.1.1406 CVSS 6.9 · Medium NVD ↗ Aug 11, 2025
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…
CVE-2025-55157 Fixed in 9.1.1400 CVSS 6.9 · Medium NVD ↗ Aug 11, 2025
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,…
CVE-2026-41411 Fixed in 9.2.0357 CVSS 6.6 · Medium NVD ↗ Apr 24, 2026
Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection vulnerability exists in Vim's tag file processing. When resolving a tag, the filename field from the tags file is passed through wildcard expansion…
CVE-2026-28419 Fixed in 9.2.0075 CVSS 6.6 · Medium NVD ↗ Feb 27, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0075, a heap-based buffer underflow exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file where a delimiter appears at the start…
CVE-2026-25749 Fixed in 9.1.2132 CVSS 6.6 · Medium NVD ↗ Feb 6, 2026
Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function…
CVE-2023-1175 Fixed in 9.0.1378 CVSS 6.6 · Medium NVD ↗ Mar 4, 2023
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
CVE-2023-1170 Fixed in 9.0.1376 CVSS 6.6 · Medium NVD ↗ Mar 3, 2023
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
CVE-2026-45130 Fixed in 9.2.0450 CVSS 5.5 · Medium NVD ↗ May 8, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in…
CVE-2026-32249 Fixed in 9.1.0137 CVSS 5.5 · Medium NVD ↗ Mar 12, 2026
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]), incorrectly emits the…
CVE-2026-28418 Fixed in 9.2.0074 CVSS 5.5 · Medium NVD ↗ Feb 27, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-based buffer overflow out-of-bounds read exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file, Vim can be tricked into…
CVE-2025-24014 Fixed in 9.1.1043 CVSS 5.5 · Medium NVD ↗ Jan 20, 2025
Vim is an open source, command line text editor. A segmentation fault was found in Vim before 9.1.1043. In silent Ex mode (-s -e), Vim typically doesn't show a screen and just operates silently in batch mode. However,…
CVE-2024-45306 Fixed in 9.1.0707 CVSS 5.5 · Medium NVD ↗ Sep 2, 2024
Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid…
CVE-2024-43790 Fixed in 9.1.0689 CVSS 5.5 · Medium NVD ↗ Aug 22, 2024
Vim is an open source command line text editor. When performing a search and displaying the search-count message is disabled (:set shm+=S), the search pattern is displayed at the bottom of the screen in a buffer (msgbuf). When…
CVE-2023-46246 Fixed in 9.0.2068 CVSS 5.5 · Medium NVD ↗ Oct 27, 2023
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…
CVE-2023-5441 Fixed in 9.0.1994 CVSS 5.5 · Medium NVD ↗ Oct 5, 2023
NULL Pointer Dereference in GitHub repository vim/vim prior to 20d161ace307e28690229b68584f2d84556f8960.
CVE-2023-2609 Fixed in 9.0.1531 CVSS 5.5 · Medium NVD ↗ May 9, 2023
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1531.
CVE-2023-2426 Fixed in 9.0.1499 CVSS 5.5 · Medium NVD ↗ Apr 29, 2023
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.
CVE-2023-1355 Fixed in 9.0.1402 CVSS 5.5 · Medium NVD ↗ Mar 11, 2023
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1402.
CVE-2023-1264 Fixed in 9.0.1392 CVSS 5.5 · Medium NVD ↗ Mar 7, 2023
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1392.
CVE-2022-4293 Fixed in 9.0.0804 CVSS 5.5 · Medium NVD ↗ Dec 5, 2022
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
CVE-2022-3278 Fixed in 9.0.0552 CVSS 5.5 · Medium NVD ↗ Sep 23, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
CVE-2022-3153 Fixed in 9.0.0404 CVSS 5.5 · Medium NVD ↗ Sep 8, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.
CVE-2022-2980 Fixed in 9.0.0259 CVSS 5.5 · Medium NVD ↗ Aug 25, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
CVE-2022-2923 Fixed in 9.0.0240 CVSS 5.5 · Medium NVD ↗ Aug 22, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0240.
CVE-2022-2874 Fixed in 9.0.0224 CVSS 5.5 · Medium NVD ↗ Aug 18, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.
CVE-2022-2598 Fixed in 9.0.0100 CVSS 5.5 · Medium NVD ↗ Aug 1, 2022
Out-of-bounds Write to API in GitHub repository vim/vim prior to 9.0.0100.
CVE-2024-41957 Fixed in 9.1.0647 CVSS 5.3 · Medium NVD ↗ Aug 1, 2024
Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the quickfix list belonging…
CVE-2024-47814 Fixed in 9.1.0764 CVSS 4.7 · Medium NVD ↗ Oct 7, 2024
Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens…
CVE-2024-43374 Fixed in 9.1.0678 CVSS 4.7 · Medium NVD ↗ Aug 16, 2024
The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was…
CVE-2023-48706 Fixed in 9.0.2121 CVSS 4.7 · Medium NVD ↗ Nov 22, 2023
Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the…
CVE-2026-44656 Fixed in 9.2.0435 CVSS 4.6 · Medium NVD ↗ May 8, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS command injection vulnerability exists in Vim's :find command-line completion. When the path option contains backtick-enclosed shell commands, those commands are executed during file…
CVE-2026-42307 Fixed in 9.2.0383 CVSS 4.4 · Medium NVD ↗ May 8, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0383, 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…
CVE-2026-28420 Fixed in 9.2.0076 CVSS 4.4 · Medium NVD ↗ Feb 27, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-based buffer overflow WRITE and an out-of-bounds READ exist in Vim's terminal emulator when processing maximum combining characters from Unicode supplementary planes. Version 9.2.0076…
CVE-2025-29768 Fixed in 9.1.1198 CVSS 4.4 · Medium NVD ↗ Mar 13, 2025
Vim, a text editor, is vulnerable to potential data loss with zip.vim and special crafted zip files in versions prior to 9.1.1198. The impact is medium because a user must be made to view such an archive with…
CVE-2023-48234 Fixed in 9.0.2109 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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…
CVE-2023-48235 Fixed in 9.0.2110 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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 - lnum…
CVE-2023-48236 Fixed in 9.0.2111 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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…
CVE-2023-48237 Fixed in 9.0.2112 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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,…
CVE-2023-48231 Fixed in 9.0.2106 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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…
CVE-2023-48232 Fixed in 9.0.2107 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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…
CVE-2023-48233 Fixed in 9.0.2108 CVSS 4.3 · Medium NVD ↗ Nov 16, 2023
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…
CVE-2025-26603 Fixed in 9.1.1115 CVSS 4.2 · Medium NVD ↗ Feb 18, 2025
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…
CVE-2024-41965 Fixed in 9.1.0648 CVSS 4.2 · Medium NVD ↗ Aug 1, 2024
Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed…
CVE-2025-53905 Fixed in 9.1.1552 CVSS 4.1 · Medium NVD ↗ Jul 15, 2025
Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this…
CVE-2025-53906 Fixed in 9.1.1551 CVSS 4.1 · Medium NVD ↗ Jul 15, 2025
Vim is an open source, command line text editor. Prior to version 9.1.1551, a path traversal issue in Vim’s zip.vim plugin can allow overwriting of arbitrary files when opening specially crafted zip archives. Impact is low because this…
CVE-2025-1215 Fixed in 9.1.1097 CVSS 2.4 · Low NVD ↗ Feb 12, 2025
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…
CVE-2026-28422 Fixed in 9.2.0078 CVSS 2.2 · Low NVD ↗ Feb 27, 2026
Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buffer-overflow occurs in `build_stl_str_hl()` when rendering a statusline with a multi-byte fill character on a very wide terminal. Version 9.2.0078 patches the issue.
CVE-2025-9390 Fixed in 9.1.1616 CVSS 1.9 · Low NVD ↗ Aug 24, 2025
A security flaw has been discovered in vim up to 9.1.1615. Affected by this vulnerability is the function main of the file src/xxd/xxd.c of the component xxd. The manipulation results in buffer overflow. The attack requires a local…
CVE-2025-9389 Affects 9.1.0000–9.1.0000 CVSS 1.9 · Low NVD ↗ Aug 24, 2025
A vulnerability was identified in vim 9.1.0000. Affected is the function __memmove_avx_unaligned_erms of the file memmove-vec-unaligned-erms.S. The manipulation leads to memory corruption. The attack needs to be performed locally. The exploit is publicly available and might be used.…
Fixed in v8.x 90
CVE-2020-20703 Affects 8.1.2135–8.1.2135 CVSS 9.8 · Critical NVD ↗ Jun 20, 2023
Buffer Overflow vulnerability in VIM v.8.1.2135 allows a remote attacker to execute arbitrary code via the operand parameter.
CVE-2022-0318 Fixed in 8.2.4151 CVSS 9.8 · Critical NVD ↗ Jan 21, 2022
Heap-based Buffer Overflow in vim/vim prior to 8.2.
CVE-2022-0729 Fixed in 8.2.4440 CVSS 8.8 · High NVD ↗ Feb 23, 2022
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4440.
CVE-2019-12735 Fixed in 8.1.1365 CVSS 8.6 · High NVD ↗ Jun 5, 2019
getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.
CVE-2021-3968 Fixed in 8.2.3610 CVSS 8.0 · High NVD ↗ Nov 19, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2022-2210 Fixed in 8.2.5164 CVSS 7.8 · High NVD ↗ Jun 27, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.
CVE-2022-2207 Fixed in 8.2.5162 CVSS 7.8 · High NVD ↗ Jun 27, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-2206 Fixed in 8.2.5160 CVSS 7.8 · High NVD ↗ Jun 26, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2022-2183 Fixed in 8.2.5151 CVSS 7.8 · High NVD ↗ Jun 23, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2022-2182 Fixed in 8.2.5150 CVSS 7.8 · High NVD ↗ Jun 23, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-2175 Fixed in 8.2.5148 CVSS 7.8 · High NVD ↗ Jun 23, 2022
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
CVE-2022-1720 Fixed in 8.2.4956 CVSS 7.8 · High NVD ↗ Jun 20, 2022
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.
CVE-2022-2129 Fixed in 8.2.5126 CVSS 7.8 · High NVD ↗ Jun 19, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.
CVE-2022-2126 Fixed in 8.2.5123 CVSS 7.8 · High NVD ↗ Jun 19, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2022-2125 Fixed in 8.2.5122 CVSS 7.8 · High NVD ↗ Jun 19, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-2124 Fixed in 8.2.5120 CVSS 7.8 · High NVD ↗ Jun 19, 2022
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
CVE-2022-2042 Fixed in 8.2.5072 CVSS 7.8 · High NVD ↗ Jun 10, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.
CVE-2022-2000 Fixed in 8.2.5063 CVSS 7.8 · High NVD ↗ Jun 9, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.
CVE-2022-1968 Fixed in 8.2.5050 CVSS 7.8 · High NVD ↗ Jun 2, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.
CVE-2022-1942 Fixed in 8.2.5043 CVSS 7.8 · High NVD ↗ May 31, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-1927 Fixed in 8.2.5037 CVSS 7.8 · High NVD ↗ May 29, 2022
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
CVE-2022-1897 Fixed in 8.0.5023 CVSS 7.8 · High NVD ↗ May 27, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.
CVE-2022-1898 Fixed in 8.2.5024 CVSS 7.8 · High NVD ↗ May 27, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.
CVE-2022-1886 Fixed in 8.2.5016 CVSS 7.8 · High NVD ↗ May 26, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-1851 Fixed in 8.2.5013 CVSS 7.8 · High NVD ↗ May 25, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2022-1796 Fixed in 8.2.4979 CVSS 7.8 · High NVD ↗ May 19, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.4979.
CVE-2022-1785 Fixed in 8.2.4977 CVSS 7.8 · High NVD ↗ May 19, 2022
Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.4977.
CVE-2022-1735 Fixed in 8.2.4969 CVSS 7.8 · High NVD ↗ May 17, 2022
Classic Buffer Overflow in GitHub repository vim/vim prior to 8.2.4969.
CVE-2022-1733 Fixed in 8.2.4968 CVSS 7.8 · High NVD ↗ May 17, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
CVE-2022-1769 Fixed in 8.2.4974 CVSS 7.8 · High NVD ↗ May 17, 2022
Buffer Over-read in GitHub repository vim/vim prior to 8.2.4974.
CVE-2022-1621 Fixed in 8.2.4919 CVSS 7.8 · High NVD ↗ May 10, 2022
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
CVE-2022-1629 Fixed in 8.2.4925 CVSS 7.8 · High NVD ↗ May 10, 2022
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
CVE-2022-1619 Fixed in 8.2.4899 CVSS 7.8 · High NVD ↗ May 8, 2022
Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. This vulnerabilities are capable of crashing software, modify memory, and possible remote execution
CVE-2022-1616 Fixed in 8.2.4895 CVSS 7.8 · High NVD ↗ May 7, 2022
Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
CVE-2022-1381 Fixed in 8.2.4763 CVSS 7.8 · High NVD ↗ Apr 18, 2022
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
CVE-2022-1160 Fixed in 8.2.4647 CVSS 7.8 · High NVD ↗ Mar 30, 2022
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
CVE-2022-1154 Fixed in 8.2.4646 CVSS 7.8 · High NVD ↗ Mar 30, 2022
Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.
CVE-2022-0943 Fixed in 8.2.4563 CVSS 7.8 · High NVD ↗ Mar 14, 2022
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
CVE-2022-0685 Fixed in 8.2.4418 CVSS 7.8 · High NVD ↗ Feb 20, 2022
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4418.
CVE-2022-0629 Fixed in 8.2.4397 CVSS 7.8 · High NVD ↗ Feb 17, 2022
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0572 Fixed in 8.2.4359 CVSS 7.8 · High NVD ↗ Feb 14, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0554 Fixed in 8.2.4327 CVSS 7.8 · High NVD ↗ Feb 10, 2022
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.
CVE-2022-0443 Fixed in 8.2.4281 CVSS 7.8 · High NVD ↗ Feb 2, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.
CVE-2022-0417 Fixed in 8.2.4245 CVSS 7.8 · High NVD ↗ Feb 1, 2022
Heap-based Buffer Overflow GitHub repository vim/vim prior to 8.2.
CVE-2022-0408 Fixed in 8.2.4247 CVSS 7.8 · High NVD ↗ Jan 30, 2022
Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0413 Fixed in 8.2.4253 CVSS 7.8 · High NVD ↗ Jan 30, 2022
Use After Free in GitHub repository vim/vim prior to 8.2.
CVE-2022-0407 Fixed in 8.2.4219 CVSS 7.8 · High NVD ↗ Jan 30, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0392 Fixed in 8.2.4218 CVSS 7.8 · High NVD ↗ Jan 28, 2022
Heap-based Buffer Overflow in GitHub repository vim prior to 8.2.
CVE-2022-0368 Fixed in 8.2.4217 CVSS 7.8 · High NVD ↗ Jan 26, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2022-0361 Fixed in 8.2.4215 CVSS 7.8 · High NVD ↗ Jan 26, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0359 Fixed in 8.2.4214 CVSS 7.8 · High NVD ↗ Jan 26, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0351 Fixed in 8.2 CVSS 7.8 · High NVD ↗ Jan 25, 2022
Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2.
CVE-2022-0261 Fixed in 8.2.4120 CVSS 7.8 · High NVD ↗ Jan 18, 2022
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVE-2022-0128 Fixed in 8.2.4009 CVSS 7.8 · High NVD ↗ Jan 6, 2022
vim is vulnerable to Out-of-bounds Read
CVE-2021-4192 Fixed in 8.2.3949 CVSS 7.8 · High NVD ↗ Dec 31, 2021
vim is vulnerable to Use After Free
CVE-2021-4173 Fixed in 8.2.3902 CVSS 7.8 · High NVD ↗ Dec 27, 2021
vim is vulnerable to Use After Free
CVE-2021-4136 Fixed in 8.2.3847 CVSS 7.8 · High NVD ↗ Dec 19, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-4069 Fixed in 8.2.3741 CVSS 7.8 · High NVD ↗ Dec 6, 2021
vim is vulnerable to Use After Free
CVE-2021-3984 Fixed in 8.2.3625 CVSS 7.8 · High NVD ↗ Dec 1, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-4019 Fixed in 8.2.3669 CVSS 7.8 · High NVD ↗ Dec 1, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3973 Fixed in 8.2.3611 CVSS 7.8 · High NVD ↗ Nov 19, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3974 Fixed in 8.2.3612 CVSS 7.8 · High NVD ↗ Nov 19, 2021
vim is vulnerable to Use After Free
CVE-2021-3927 Fixed in 8.2.3581 CVSS 7.8 · High NVD ↗ Nov 5, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3928 Fixed in 8.2.3582 CVSS 7.8 · High NVD ↗ Nov 5, 2021
vim is vulnerable to Use of Uninitialized Variable
CVE-2021-3903 Fixed in 8.2.3564 CVSS 7.8 · High NVD ↗ Oct 27, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3872 Fixed in 8.2.3487 CVSS 7.8 · High NVD ↗ Oct 19, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3778 Fixed in 8.2.3409 CVSS 7.8 · High NVD ↗ Sep 15, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3770 Fixed in 8.2.3408 CVSS 7.8 · High NVD ↗ Sep 6, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2019-20079 Fixed in 8.1.2136 CVSS 7.8 · High NVD ↗ Dec 30, 2019
The autocmd feature in window.c in Vim before 8.1.2136 accesses freed memory.
CVE-2017-11109 Affects 8.0–8.0 CVSS 7.8 · High NVD ↗ Jul 8, 2017
Vim 8.0 allows attackers to cause a denial of service (invalid free) or possibly have unspecified other impact via a crafted source (aka -S) file. NOTE: there might be a limited number of scenarios in which this has…
CVE-2022-1620 Fixed in 8.2.4901 CVSS 7.5 · High NVD ↗ May 8, 2022
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in GitHub repository vim/vim prior to 8.2.4901. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 allows attackers to cause a denial of service (application crash) via a crafted input.
CVE-2021-3796 Fixed in 8.2.3428 CVSS 7.3 · High NVD ↗ Sep 15, 2021
vim is vulnerable to Use After Free
CVE-2022-0393 Fixed in 8.2.4233 CVSS 7.1 · High NVD ↗ Jan 28, 2022
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
CVE-2021-4166 Fixed in 8.2.3884 CVSS 7.1 · High NVD ↗ Dec 25, 2021
vim is vulnerable to Out-of-bounds Read
CVE-2022-0213 Fixed in 8.2 CVSS 6.6 · Medium NVD ↗ Jan 14, 2022
vim is vulnerable to Heap-based Buffer Overflow
CVE-2021-3236 Affects 8.2.2348–8.2.2348 CVSS 5.5 · Medium NVD ↗ Aug 11, 2023
vim 8.2.2348 is affected by null pointer dereference, allows local attackers to cause a denial of service (DoS) via the ex_buffer_all method.
CVE-2022-1725 Fixed in 8.2.4959 CVSS 5.5 · Medium NVD ↗ Sep 29, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.4959.
CVE-2022-2231 Fixed in 8.2.5169 CVSS 5.5 · Medium NVD ↗ Jun 28, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.
CVE-2022-2208 Fixed in 8.2.5163 CVSS 5.5 · Medium NVD ↗ Jun 27, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
CVE-2022-1771 Fixed in 8.2.4975 CVSS 5.5 · Medium NVD ↗ May 18, 2022
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
CVE-2022-1674 Fixed in 8.2.4938 CVSS 5.5 · Medium NVD ↗ May 12, 2022
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 in GitHub repository vim/vim prior to 8.2.4938. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 allows attackers to cause a denial of service (application crash) via a crafted input.
CVE-2022-1420 Fixed in 8.2.4774 CVSS 5.5 · Medium NVD ↗ Apr 21, 2022
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.
CVE-2022-0696 Fixed in 8.2.4428 CVSS 5.5 · Medium NVD ↗ Feb 21, 2022
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.4428.
CVE-2022-0319 Fixed in 8.2.4154 CVSS 5.5 · Medium NVD ↗ Jan 21, 2022
Out-of-bounds Read in vim/vim prior to 8.2.
CVE-2022-0156 Fixed in 8.2.4040 CVSS 5.5 · Medium NVD ↗ Jan 10, 2022
vim is vulnerable to Use After Free
CVE-2021-4193 Fixed in 8.2.3950 CVSS 5.5 · Medium NVD ↗ Dec 31, 2021
vim is vulnerable to Out-of-bounds Read
CVE-2021-3875 Fixed in 8.2.3489 CVSS 5.5 · Medium NVD ↗ Oct 15, 2021
vim is vulnerable to Heap-based Buffer Overflow
CVE-2017-17087 Fixed in 8.0.1263 CVSS 5.5 · Medium NVD ↗ Dec 1, 2017
fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor's primary group (which may be different from the group ownership of the original file), which allows local users to obtain sensitive…
CVE-2019-20807 Fixed in 8.1.0881 CVSS 5.3 · Medium NVD ↗ May 28, 2020
In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Python, Ruby, or Lua).
CVE-2022-0158 Fixed in 8.2.4049 CVSS 3.3 · Low NVD ↗ Jan 10, 2022
vim is vulnerable to Heap-based Buffer Overflow
Fixed in v7.x 6
CVE-2008-6235 Affects 7.0–7.1 CVSS 9.3 · High NVD ↗ Feb 21, 2009
The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4…
CVE-2008-3074 Affects 7.0–7.2 CVSS 9.3 · High NVD ↗ Feb 21, 2009
The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of…
CVE-2008-3076 Affects 7.2a.10–7.2a.10 CVSS 9.3 · High NVD ↗ Feb 21, 2009
The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated…
CVE-2008-3075 Affects 7.0–7.2 CVSS 9.3 · High NVD ↗ Feb 21, 2009
The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a ZIP archive and possibly (2) the filename of…
CVE-2008-4677 Affects 7.1–7.2 CVSS 4.3 · Medium NVD ↗ Oct 22, 2008
autoload/netrw.vim (aka the Netrw Plugin) 109, 131, and other versions before 133k for Vim 7.1.266, other 7.1 versions, and 7.2 stores credentials for an FTP session, and sends those credentials when attempting to establish subsequent FTP sessions to…
CVE-2008-3294 Affects 5.0–7.1 CVSS 3.7 · Low NVD ↗ Jul 24, 2008
src/configure.in in Vim 5.0 through 7.1, when used for a build with Python support, does not ensure that the Makefile-conf temporary file has the intended ownership and permissions, which allows local users to execute arbitrary code by modifying…
Fixed in v6.x 1
CVE-2008-3432 Affects 6.2–6.3 CVSS 6.8 · Medium NVD ↗ Oct 10, 2008
Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.
Source: NVD · CISA KEV · data as of Jun 8, 2026