vim CVE Vulnerabilities & Metrics

Focus on vim vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About vim Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with vim. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total vim CVEs: 188
Earliest CVE date: 16 Jun 2008, 21:41 UTC
Latest CVE date: 02 Sep 2024, 18:15 UTC

Latest CVE reference: CVE-2024-45306

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 3

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): -89.66%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): -89.66%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical vim CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 3.78

Max CVSS: 9.3

Critical CVEs (≥9): 9

CVSS Range vs. Count

Range Count
0.0-3.9 85
4.0-6.9 100
7.0-8.9 5
9.0-10.0 9

CVSS Distribution Chart

Top 5 Highest CVSS vim CVEs

These are the five CVEs with the highest CVSS scores for vim, sorted by severity first and recency.

All CVEs for vim

CVE-2024-45306 vim vulnerability CVSS: 0 02 Sep 2024, 18:15 UTC

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 by pointing beyond the end of a line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer at the specified cursor position. It's not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That's why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.

CVE-2024-41965 vim vulnerability CVSS: 0 01 Aug 2024, 22:15 UTC

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 buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648.

CVE-2024-41957 vim vulnerability CVSS: 0 01 Aug 2024, 22:15 UTC

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 to that window will also be cleared and if that quickfix list points to the same tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception. Impact is low since the user must intentionally execute vim with several non-default flags, but it may cause a crash of Vim. The issue has been fixed as of Vim patch v9.1.0647

CVE-2024-22667 vim vulnerability CVSS: 0 05 Feb 2024, 08:15 UTC

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-48706 vim vulnerability CVSS: 0 22 Nov 2023, 22:15 UTC

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 recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.

CVE-2023-48237 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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 required and a crash may not even happen in all situations. This issue has been addressed in commit `6bf131888` which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48236 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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. This vulnerability has been addressed in commit `73b2d379` which has been included in release version 9.0.2111. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48235 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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 will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `060623e` which has been included in release version 9.0.2110. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48234 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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. This issue has been addressed in commit `58f9befca1` which has been included in release version 9.0.2109. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48233 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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 happen in all situations. This issue has been addressed in commit `ac6378773` which has been included in release version 9.0.2108. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48232 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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 window border is present and when the wrapped line continues on the next physical line directly in the window border because the 'cpo' setting includes the 'n' flag. Only users with non-default settings are affected and the exception should only result in a crash. This issue has been addressed in commit `cb0b99f0` which has been included in release version 9.0.2107. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-48231 vim vulnerability CVSS: 0 16 Nov 2023, 23:15 UTC

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 commit `25aabc2b` which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVE-2023-46246 vim vulnerability CVSS: 0 27 Oct 2023, 19:15 UTC

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_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068.

CVE-2023-5535 vim vulnerability CVSS: 0 11 Oct 2023, 20:15 UTC

Use After Free in GitHub repository vim/vim prior to v9.0.2010.

CVE-2023-5441 vim vulnerability CVSS: 0 05 Oct 2023, 21:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 20d161ace307e28690229b68584f2d84556f8960.

CVE-2023-5344 vim vulnerability CVSS: 0 02 Oct 2023, 20:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969.

CVE-2023-4781 vim vulnerability CVSS: 0 05 Sep 2023, 19:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.

CVE-2023-4752 vim vulnerability CVSS: 0 04 Sep 2023, 14:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.1858.

CVE-2023-4750 vim vulnerability CVSS: 0 04 Sep 2023, 14:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.1857.

CVE-2023-4733 vim vulnerability CVSS: 0 04 Sep 2023, 14:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.1840.

CVE-2023-4751 vim vulnerability CVSS: 0 03 Sep 2023, 19:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.

CVE-2023-4738 vim vulnerability CVSS: 0 02 Sep 2023, 20:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.

CVE-2023-4736 vim vulnerability CVSS: 0 02 Sep 2023, 19:15 UTC

Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.

CVE-2023-4735 vim vulnerability CVSS: 0 02 Sep 2023, 18:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.

CVE-2023-4734 vim vulnerability CVSS: 0 02 Sep 2023, 18:15 UTC

Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846.

CVE-2021-3236 vim vulnerability CVSS: 0 11 Aug 2023, 14:15 UTC

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-2023-3896 vim vulnerability CVSS: 0 07 Aug 2023, 13:15 UTC

Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3

CVE-2020-20703 vim vulnerability CVSS: 0 20 Jun 2023, 15:15 UTC

Buffer Overflow vulnerability in VIM v.8.1.2135 allows a remote attacker to execute arbitrary code via the operand parameter.

CVE-2023-2610 vim vulnerability CVSS: 0 09 May 2023, 22:15 UTC

Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1532.

CVE-2023-2609 vim vulnerability CVSS: 0 09 May 2023, 18:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1531.

CVE-2023-2426 vim vulnerability CVSS: 0 29 Apr 2023, 22:15 UTC

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.

CVE-2023-1355 vim vulnerability CVSS: 0 11 Mar 2023, 22:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1402.

CVE-2023-1264 vim vulnerability CVSS: 0 07 Mar 2023, 22:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1392.

CVE-2023-1175 vim vulnerability CVSS: 0 04 Mar 2023, 16:15 UTC

Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.

CVE-2023-1170 vim vulnerability CVSS: 0 03 Mar 2023, 23:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.

CVE-2023-1127 vim vulnerability CVSS: 0 01 Mar 2023, 19:15 UTC

Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.

CVE-2023-0512 vim vulnerability CVSS: 0 30 Jan 2023, 16:15 UTC

Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.

CVE-2023-0433 vim vulnerability CVSS: 0 21 Jan 2023, 15:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1225.

CVE-2022-47024 vim vulnerability CVSS: 0 20 Jan 2023, 19:15 UTC

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-2023-0288 vim vulnerability CVSS: 0 13 Jan 2023, 16:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1189.

CVE-2023-0054 vim vulnerability CVSS: 0 04 Jan 2023, 19:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1145.

CVE-2023-0051 vim vulnerability CVSS: 0 04 Jan 2023, 18:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.

CVE-2023-0049 vim vulnerability CVSS: 0 04 Jan 2023, 16:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.1143.

CVE-2022-4293 vim vulnerability CVSS: 0 05 Dec 2022, 19:15 UTC

Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.

CVE-2022-4292 vim vulnerability CVSS: 0 05 Dec 2022, 19:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0882.

CVE-2022-3491 vim vulnerability CVSS: 0 03 Dec 2022, 13:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.

CVE-2022-3520 vim vulnerability CVSS: 0 02 Dec 2022, 19:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

CVE-2022-3591 vim vulnerability CVSS: 0 02 Dec 2022, 17:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0789.

CVE-2022-4141 vim vulnerability CVSS: 0 25 Nov 2022, 14:15 UTC

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-2022-3705 vim vulnerability CVSS: 0 26 Oct 2022, 20:15 UTC

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. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324.

CVE-2022-3352 vim vulnerability CVSS: 0 29 Sep 2022, 12:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0614.

CVE-2022-1725 vim vulnerability CVSS: 0 29 Sep 2022, 03:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.4959.

CVE-2022-3324 vim vulnerability CVSS: 0 27 Sep 2022, 23:15 UTC

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598.

CVE-2022-3297 vim vulnerability CVSS: 0 25 Sep 2022, 19:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0579.

CVE-2022-3296 vim vulnerability CVSS: 0 25 Sep 2022, 17:15 UTC

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0577.

CVE-2022-3278 vim vulnerability CVSS: 0 23 Sep 2022, 22:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.

CVE-2022-3256 vim vulnerability CVSS: 0 22 Sep 2022, 13:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0530.

CVE-2022-3235 vim vulnerability CVSS: 0 18 Sep 2022, 20:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0490.

CVE-2022-3234 vim vulnerability CVSS: 0 17 Sep 2022, 22:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0483.

CVE-2022-3153 vim vulnerability CVSS: 0 08 Sep 2022, 15:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.

CVE-2022-3134 vim vulnerability CVSS: 0 06 Sep 2022, 20:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0389.

CVE-2022-3099 vim vulnerability CVSS: 0 03 Sep 2022, 16:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0360.

CVE-2022-3037 vim vulnerability CVSS: 0 30 Aug 2022, 21:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0322.

CVE-2022-37173 vim vulnerability CVSS: 0 30 Aug 2022, 21:15 UTC

An issue in the installer of gvim 9.0.0000 allows authenticated attackers to execute arbitrary code via a binary hijacking attack on C:\Program.exe.

CVE-2022-3016 vim vulnerability CVSS: 0 28 Aug 2022, 12:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0286.

CVE-2022-2982 vim vulnerability CVSS: 0 25 Aug 2022, 20:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0260.

CVE-2022-2980 vim vulnerability CVSS: 0 25 Aug 2022, 20:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.

CVE-2022-2946 vim vulnerability CVSS: 0 23 Aug 2022, 17:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0246.

CVE-2022-2923 vim vulnerability CVSS: 0 22 Aug 2022, 21:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0240.

CVE-2022-2889 vim vulnerability CVSS: 0 19 Aug 2022, 13:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0225.

CVE-2022-2874 vim vulnerability CVSS: 0 18 Aug 2022, 16:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

CVE-2022-2862 vim vulnerability CVSS: 0 17 Aug 2022, 20:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0221.

CVE-2022-2849 vim vulnerability CVSS: 0 17 Aug 2022, 18:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0220.

CVE-2022-2845 vim vulnerability CVSS: 0 17 Aug 2022, 15:15 UTC

Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.

CVE-2022-2817 vim vulnerability CVSS: 0 15 Aug 2022, 23:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0213.

CVE-2022-2816 vim vulnerability CVSS: 0 15 Aug 2022, 22:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0212.

CVE-2022-2819 vim vulnerability CVSS: 0 15 Aug 2022, 11:21 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0211.

CVE-2022-2598 vim vulnerability CVSS: 0 01 Aug 2022, 15:15 UTC

Out-of-bounds Write to API in GitHub repository vim/vim prior to 9.0.0100.

CVE-2022-2581 vim vulnerability CVSS: 0 01 Aug 2022, 15:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.

CVE-2022-2580 vim vulnerability CVSS: 0 01 Aug 2022, 15:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.

CVE-2022-2571 vim vulnerability CVSS: 0 01 Aug 2022, 15:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0101.

CVE-2022-2522 vim vulnerability CVSS: 0 25 Jul 2022, 14:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.

CVE-2022-2345 vim vulnerability CVSS: 6.8 08 Jul 2022, 22:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.0046.

CVE-2022-2344 vim vulnerability CVSS: 6.8 08 Jul 2022, 19:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0045.

CVE-2022-2343 vim vulnerability CVSS: 6.8 08 Jul 2022, 18:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.

CVE-2022-2304 vim vulnerability CVSS: 6.8 05 Jul 2022, 13:15 UTC

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.

CVE-2022-2289 vim vulnerability CVSS: 6.8 03 Jul 2022, 15:15 UTC

Use After Free in GitHub repository vim/vim prior to 9.0.

CVE-2022-2288 vim vulnerability CVSS: 6.8 03 Jul 2022, 13:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.

CVE-2022-2287 vim vulnerability CVSS: 5.8 02 Jul 2022, 22:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.

CVE-2022-2286 vim vulnerability CVSS: 6.8 02 Jul 2022, 19:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.

CVE-2022-2285 vim vulnerability CVSS: 6.8 02 Jul 2022, 16:15 UTC

Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.

CVE-2022-2284 vim vulnerability CVSS: 6.8 02 Jul 2022, 15:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.

CVE-2022-2264 vim vulnerability CVSS: 6.8 01 Jul 2022, 11:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.

CVE-2022-2257 vim vulnerability CVSS: 6.8 30 Jun 2022, 21:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.

CVE-2022-2231 vim vulnerability CVSS: 4.3 28 Jun 2022, 20:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.

CVE-2022-2210 vim vulnerability CVSS: 6.8 27 Jun 2022, 16:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.

CVE-2022-2208 vim vulnerability CVSS: 4.3 27 Jun 2022, 13:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.

CVE-2022-2207 vim vulnerability CVSS: 6.8 27 Jun 2022, 12:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-2206 vim vulnerability CVSS: 6.8 26 Jun 2022, 19:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-2183 vim vulnerability CVSS: 6.8 23 Jun 2022, 19:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-2182 vim vulnerability CVSS: 6.8 23 Jun 2022, 18:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-2175 vim vulnerability CVSS: 6.8 23 Jun 2022, 13:15 UTC

Buffer Over-read in GitHub repository vim/vim prior to 8.2.

CVE-2022-1720 vim vulnerability CVSS: 6.8 20 Jun 2022, 15:15 UTC

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 vim vulnerability CVSS: 6.8 19 Jun 2022, 19:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.

CVE-2022-2126 vim vulnerability CVSS: 6.8 19 Jun 2022, 13:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-2125 vim vulnerability CVSS: 6.8 19 Jun 2022, 12:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-2124 vim vulnerability CVSS: 6.8 19 Jun 2022, 10:15 UTC

Buffer Over-read in GitHub repository vim/vim prior to 8.2.

CVE-2022-2042 vim vulnerability CVSS: 6.8 10 Jun 2022, 19:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.

CVE-2022-2000 vim vulnerability CVSS: 6.8 09 Jun 2022, 16:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.

CVE-2022-1968 vim vulnerability CVSS: 6.8 02 Jun 2022, 14:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.

CVE-2022-1942 vim vulnerability CVSS: 6.8 31 May 2022, 14:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-1927 vim vulnerability CVSS: 6.8 29 May 2022, 14:15 UTC

Buffer Over-read in GitHub repository vim/vim prior to 8.2.

CVE-2022-1897 vim vulnerability CVSS: 6.8 27 May 2022, 15:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.

CVE-2022-1898 vim vulnerability CVSS: 6.8 27 May 2022, 09:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.

CVE-2022-1886 vim vulnerability CVSS: 6.8 26 May 2022, 15:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-1851 vim vulnerability CVSS: 6.8 25 May 2022, 13:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-1796 vim vulnerability CVSS: 6.8 19 May 2022, 16:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.4979.

CVE-2022-1785 vim vulnerability CVSS: 4.6 19 May 2022, 13:15 UTC

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.4977.

CVE-2022-1771 vim vulnerability CVSS: 4.3 18 May 2022, 20:15 UTC

Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.

CVE-2022-1735 vim vulnerability CVSS: 6.8 17 May 2022, 19:15 UTC

Classic Buffer Overflow in GitHub repository vim/vim prior to 8.2.4969.

CVE-2022-1769 vim vulnerability CVSS: 4.6 17 May 2022, 17:15 UTC

Buffer Over-read in GitHub repository vim/vim prior to 8.2.4974.

CVE-2022-1733 vim vulnerability CVSS: 4.6 17 May 2022, 17:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.

CVE-2022-1674 vim vulnerability CVSS: 4.3 12 May 2022, 11:15 UTC

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-1629 vim vulnerability CVSS: 6.8 10 May 2022, 14:15 UTC

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-1621 vim vulnerability CVSS: 6.8 10 May 2022, 14:15 UTC

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-1620 vim vulnerability CVSS: 5.0 08 May 2022, 11:15 UTC

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-2022-1619 vim vulnerability CVSS: 6.8 08 May 2022, 10:15 UTC

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 vim vulnerability CVSS: 6.8 07 May 2022, 19:15 UTC

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-1420 vim vulnerability CVSS: 4.3 21 Apr 2022, 11:15 UTC

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.

CVE-2022-1381 vim vulnerability CVSS: 6.8 18 Apr 2022, 01:15 UTC

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 vim vulnerability CVSS: 6.8 30 Mar 2022, 19:15 UTC

heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.

CVE-2022-1154 vim vulnerability CVSS: 6.8 30 Mar 2022, 12:15 UTC

Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.

CVE-2022-0943 vim vulnerability CVSS: 4.6 14 Mar 2022, 21:15 UTC

Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.

CVE-2022-0729 vim vulnerability CVSS: 6.5 23 Feb 2022, 14:15 UTC

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4440.

CVE-2022-0714 vim vulnerability CVSS: 4.3 22 Feb 2022, 20:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4436.

CVE-2022-0696 vim vulnerability CVSS: 4.3 21 Feb 2022, 20:15 UTC

NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.4428.

CVE-2022-0685 vim vulnerability CVSS: 6.8 20 Feb 2022, 11:15 UTC

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4418.

CVE-2022-0629 vim vulnerability CVSS: 6.8 17 Feb 2022, 12:15 UTC

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0572 vim vulnerability CVSS: 6.8 14 Feb 2022, 12:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0554 vim vulnerability CVSS: 6.8 10 Feb 2022, 22:15 UTC

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.

CVE-2022-0443 vim vulnerability CVSS: 6.8 02 Feb 2022, 21:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.

CVE-2022-0417 vim vulnerability CVSS: 6.8 01 Feb 2022, 13:15 UTC

Heap-based Buffer Overflow GitHub repository vim/vim prior to 8.2.

CVE-2022-0413 vim vulnerability CVSS: 6.8 30 Jan 2022, 15:15 UTC

Use After Free in GitHub repository vim/vim prior to 8.2.

CVE-2022-0408 vim vulnerability CVSS: 6.8 30 Jan 2022, 15:15 UTC

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0407 vim vulnerability CVSS: 6.8 30 Jan 2022, 14:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0393 vim vulnerability CVSS: 5.8 28 Jan 2022, 22:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-0392 vim vulnerability CVSS: 6.8 28 Jan 2022, 22:15 UTC

Heap-based Buffer Overflow in GitHub repository vim prior to 8.2.

CVE-2022-0368 vim vulnerability CVSS: 6.8 26 Jan 2022, 18:15 UTC

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

CVE-2022-0361 vim vulnerability CVSS: 6.8 26 Jan 2022, 13:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0359 vim vulnerability CVSS: 6.8 26 Jan 2022, 12:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0351 vim vulnerability CVSS: 4.6 25 Jan 2022, 18:15 UTC

Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2.

CVE-2022-0319 vim vulnerability CVSS: 4.3 21 Jan 2022, 14:15 UTC

Out-of-bounds Read in vim/vim prior to 8.2.

CVE-2022-0318 vim vulnerability CVSS: 7.5 21 Jan 2022, 12:15 UTC

Heap-based Buffer Overflow in vim/vim prior to 8.2.

CVE-2022-0261 vim vulnerability CVSS: 6.8 18 Jan 2022, 16:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVE-2022-0213 vim vulnerability CVSS: 6.8 14 Jan 2022, 13:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2022-0158 vim vulnerability CVSS: 4.3 10 Jan 2022, 16:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2022-0156 vim vulnerability CVSS: 4.3 10 Jan 2022, 16:15 UTC

vim is vulnerable to Use After Free

CVE-2022-0128 vim vulnerability CVSS: 6.8 06 Jan 2022, 17:15 UTC

vim is vulnerable to Out-of-bounds Read

CVE-2021-4193 vim vulnerability CVSS: 4.3 31 Dec 2021, 16:15 UTC

vim is vulnerable to Out-of-bounds Read

CVE-2021-4192 vim vulnerability CVSS: 6.8 31 Dec 2021, 15:15 UTC

vim is vulnerable to Use After Free

CVE-2021-4187 vim vulnerability CVSS: 6.8 29 Dec 2021, 17:15 UTC

vim is vulnerable to Use After Free

CVE-2021-4173 vim vulnerability CVSS: 6.8 27 Dec 2021, 13:15 UTC

vim is vulnerable to Use After Free

CVE-2021-4166 vim vulnerability CVSS: 5.8 25 Dec 2021, 19:15 UTC

vim is vulnerable to Out-of-bounds Read

CVE-2021-4136 vim vulnerability CVSS: 6.8 19 Dec 2021, 17:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-4069 vim vulnerability CVSS: 6.8 06 Dec 2021, 12:15 UTC

vim is vulnerable to Use After Free

CVE-2021-3984 vim vulnerability CVSS: 6.8 01 Dec 2021, 11:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-4019 vim vulnerability CVSS: 6.8 01 Dec 2021, 10:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3973 vim vulnerability CVSS: 9.3 19 Nov 2021, 12:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3968 vim vulnerability CVSS: 8.5 19 Nov 2021, 12:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3974 vim vulnerability CVSS: 6.8 19 Nov 2021, 11:15 UTC

vim is vulnerable to Use After Free

CVE-2021-3928 vim vulnerability CVSS: 4.6 05 Nov 2021, 15:15 UTC

vim is vulnerable to Use of Uninitialized Variable

CVE-2021-3927 vim vulnerability CVSS: 6.8 05 Nov 2021, 15:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3903 vim vulnerability CVSS: 4.6 27 Oct 2021, 21:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3872 vim vulnerability CVSS: 6.8 19 Oct 2021, 13:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3875 vim vulnerability CVSS: 4.3 15 Oct 2021, 14:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3796 vim vulnerability CVSS: 6.8 15 Sep 2021, 13:15 UTC

vim is vulnerable to Use After Free

CVE-2021-3778 vim vulnerability CVSS: 6.8 15 Sep 2021, 08:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3770 vim vulnerability CVSS: 4.6 06 Sep 2021, 12:15 UTC

vim is vulnerable to Heap-based Buffer Overflow

CVE-2019-20807 vim vulnerability CVSS: 4.6 28 May 2020, 14:15 UTC

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-2019-20079 vim vulnerability CVSS: 6.8 30 Dec 2019, 01:15 UTC

The autocmd feature in window.c in Vim before 8.1.2136 accesses freed memory.

CVE-2019-12735 vim vulnerability CVSS: 9.3 05 Jun 2019, 14:29 UTC

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-2017-17087 vim vulnerability CVSS: 2.1 01 Dec 2017, 08:29 UTC

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 information by leveraging an applicable group membership, as demonstrated by /etc/shadow owned by root:shadow mode 0640, but /etc/.shadow.swp owned by root:users mode 0640, a different vulnerability than CVE-2017-1000382.

CVE-2017-1000382 vim vulnerability CVSS: 2.1 31 Oct 2017, 20:29 UTC

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.

CVE-2017-11109 vim vulnerability CVSS: 6.8 08 Jul 2017, 17:29 UTC

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 security relevance.

CVE-2017-6350 vim vulnerability CVSS: 7.5 27 Feb 2017, 07:59 UTC

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 overflows.

CVE-2017-6349 vim vulnerability CVSS: 7.5 27 Feb 2017, 07:59 UTC

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 overflows.

CVE-2017-5953 vim vulnerability CVSS: 7.5 10 Feb 2017, 07:59 UTC

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-2016-1248 vim vulnerability CVSS: 6.8 23 Nov 2016, 15:59 UTC

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-2010-3914 vim vulnerability CVSS: 9.3 03 Nov 2010, 13:37 UTC

Untrusted search path vulnerability in VIM Development Group GVim before 7.3.034, and possibly other versions before 7.3.46, allows local users, and possibly remote attackers, to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse User32.dll or other DLL that is located in the same folder as a .TXT file. NOTE: some of these details are obtained from third party information.

CVE-2008-6235 vim vulnerability CVSS: 9.3 21 Feb 2009, 23:30 UTC

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 and netrw.v5 test cases.

CVE-2008-3076 vim vulnerability CVSS: 9.3 21 Feb 2009, 22:30 UTC

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 by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.

CVE-2008-3075 vim vulnerability CVSS: 9.3 21 Feb 2009, 22:30 UTC

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 the first file in a ZIP archive, which is not properly handled by zip.vim in the VIM ZIP plugin (zipPlugin.vim) v.11 through v.21, as demonstrated by the zipplugin and zipplugin.v2 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3074. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

CVE-2008-3074 vim vulnerability CVSS: 9.3 21 Feb 2009, 22:30 UTC

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 the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

CVE-2009-0316 vim vulnerability CVSS: 6.9 28 Jan 2009, 11:30 UTC

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 PySys_SetArgv function (CVE-2008-5983), as demonstrated by an erroneous search path for plugin/bike.vim in bicyclerepair.

CVE-2008-4677 vim vulnerability CVSS: 4.3 22 Oct 2008, 18:00 UTC

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 servers on different hosts, which allows remote FTP servers to obtain sensitive information in opportunistic circumstances by logging usernames and passwords. NOTE: the upstream vendor disputes a vector involving different ports on the same host, stating "I'm assuming that they're using the same id and password on that unchanged hostname, deliberately."

CVE-2008-3432 vim vulnerability CVSS: 6.8 10 Oct 2008, 10:30 UTC

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.

CVE-2008-4101 vim vulnerability CVSS: 9.3 18 Sep 2008, 17:59 UTC

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, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.

CVE-2008-3294 vim vulnerability CVSS: 3.7 24 Jul 2008, 18:41 UTC

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 this file during a time window, or by creating it ahead of time with permissions that prevent its modification by configure.

CVE-2008-2712 vim vulnerability CVSS: 9.3 16 Jun 2008, 21:41 UTC

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) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.