p PatchFirst

PatchFirst · Latest vulnerabilities

vim vulnerabilities · Page 4

Vulnerabilities published for vim in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 258

  1. CVE-2024-41965

    Medium · CVSS 4.2EPSS 0.33%Fix available

    Vim < v9.1.0648 has a double-free in dialog_changed()

    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.

    • Update to 2:9.1.0698-1
    Published Updated
  2. CVE-2024-41957

    Medium · CVSS 4.5EPSS 0.37%Fix available

    Vim double free in src/alloc.c:616

    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

    • Update to 2:9.1.0698-1
    Published Updated
  3. CVE-2023-48706

    Low · CVSS 3.6EPSS 0.54%Fix available

    Vim has heap-use-after-free at /src/charset.c:1770:12 in skipwhite

    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.

    • Update to 2:9.0.2189-1
    Published Updated
  4. CVE-2023-48231

    Low · CVSS 3.9EPSS 0.71%Fix available

    Use-After-Free in win_close() in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  5. CVE-2023-48232

    Low · CVSS 3.9EPSS 0.67%Fix available

    Floating point Exception in adjust_plines_for_skipcol() in vim

    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 kno

    • Update to 2:9.0.2116-1
    Published Updated
  6. CVE-2023-48233

    Low · CVSS 2.8EPSS 0.75%Fix available

    overflow with count for :s command in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  7. CVE-2023-48234

    Low · CVSS 2.8EPSS 0.75%Fix available

    overflow in nv_z_get_count in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  8. CVE-2023-48235

    Low · CVSS 2.8EPSS 0.75%Fix available

    overflow in ex address parsing in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  9. CVE-2023-48236

    Low · CVSS 2.8EPSS 0.69%Fix available

    overflow in get_number in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  10. CVE-2023-48237

    Low · CVSS 2.8EPSS 0.75%Fix available

    overflow in shift_line in vim

    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.

    • Update to 2:9.0.2116-1
    Published Updated
  11. CVE-2023-46246

    Medium · CVSS 4EPSS 0.38%Fix available

    Integer Overflow in :history command in Vim

    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.

    • Update to 2:9.0.2087-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →