p PatchFirst

PatchFirst · Latest vulnerabilities

vim vulnerabilities · Page 3

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 258

  1. CVE-2026-28420

    Medium · CVSS 4.4EPSS 0.21%Fix available

    Vim has Heap-based Buffer Overflow and OOB Read in :terminal

    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 fixes the issue.

    • Update to 2:9.2.0119-1
    Published Updated
  2. CVE-2026-28419

    Medium · CVSS 5.3EPSS 0.2%Fix available

    Vim has Heap-based Buffer Underflow in Emacs tags parsing

    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 of a line, Vim attempts to read memory immediately preceding the allocated buffer. Version 9.2.0075 fixes the issue.

    • Update to 2:9.2.0119-1
    Published Updated
  3. CVE-2026-28418

    Medium · CVSS 4.4EPSS 0.26%Fix available

    Vim has Heap-based Buffer Overflow in Emacs tags parsing

    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 reading up to 7 bytes beyond the allocated memory boundary. Version 9.2.0074 fixes the issue.

    • Update to 2:9.2.0119-1
    Published Updated
  4. CVE-2026-28417

    Medium · CVSS 4.4EPSS 1.35%Fix available

    Vim has OS Command Injection in netrw

    Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS command injection vulnerability exists in the `netrw` standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the `scp://` protocol handler), an attacker can execute arbitrary shell commands with the privileges of the Vim process. Version 9.2.0073 fixes the issue.

    • Update to 2:9.2.0119-1
    Published Updated
  5. CVE-2026-26269

    Medium · CVSS 5.4EPSS 0.35%Fix available

    Vim has a Netbeans specialKeys Stack Buffer Overflow

    Vim is an open source, command line text editor. Prior to 9.1.2148, a stack buffer overflow vulnerability exists in Vim's NetBeans integration when processing the specialKeys command, affecting Vim builds that enable and use the NetBeans feature. The Stack buffer overflow exists in special_keys() (in src/netbeans.c). The while (*tok) loop writes two bytes per iteration into a 64-byte stack buffer (keybuf) with no bounds check. A malicious NetBeans server can overflow keybuf with a single specialKeys command. The issue has been fixed as of Vim patch v9.1.2148.

    • Update to 2:9.2.0119-1
    Published Updated
  6. CVE-2026-25749

    Medium · CVSS 6.6EPSS 0.26%Fix available

    Heap Overflow in Vim

    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 in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.

    • Update to 2:9.1.2141-1
    Published Updated
  7. CVE-2025-9390

    Medium · CVSS 4.8EPSS 0.3%Fix available

    vim xxd xxd.c main buffer overflow

    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 approach. The exploit has been released to the public and may be exploited. Upgrading to version 9.1.1616 addresses this issue. The patch is identified as eeef7c77436a78cd27047b0f5fa6925d56de3cb0. It is recommended to upgrade the affected component.

    • Update to 2:9.1.1829-1
    Published Updated
  8. CVE-2025-53906

    Medium · CVSS 4.1EPSS 0.87%Fix available

    Vim has path traversal issue with zip.vim and special crafted zip archives

    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 exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation cou

    • Update to 2:9.1.1829-1
    Published Updated
  9. CVE-2025-53905

    Medium · CVSS 4.1EPSS 0.36%Fix available

    Vim has path traversial issue with tar.vim and special crafted tar files

    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 exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation cou

    • Update to 2:9.1.1829-1
    Published Updated
  10. CVE-2025-29768

    Medium · CVSS 4.4EPSS 0.4%Fix available

    Vim vulnerable to potential data loss with zip.vim and special crafted zip files

    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 Vim and then press 'x' on such a strange filename. The issue has been fixed as of Vim patch v9.1.1198.

    • Update to 2:9.1.1230-1
    Published Updated
  11. CVE-2025-27423

    High · CVSS 7.1EPSS 22.47%Fix available

    Improper Input Validation in Vim

    Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164

    • Update to 2:9.1.1230-1
    Published Updated
  12. CVE-2025-26603

    Medium · CVSS 4.2EPSS 0.24%Fix available

    heap-use-after-free in function str_to_reg in vim/vim

    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 using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, t

    • Update to 2:9.1.1230-1
    Published Updated
  13. CVE-2025-1215

    Low · CVSS 2.4EPSS 0.55%Fix available

    vim main.c memory corruption

    A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host. Upgrading to version 9.1.1097 is able to address this issue. The patch is identified as c5654b84480822817bb7b69ebc97c174c91185e9. It is recommended to upgrade the affected component.

    • Update to 2:9.1.1113-1
    Published Updated
  14. CVE-2025-24014

    Medium · CVSS 4.2EPSS 0.28%Fix available

    segmentation fault in win_line() in Vim < 9.1.1043

    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, it is still possible to trigger the function that handles the scrolling of a gui version of Vim by feeding some binary characters to Vim. The function that handles the scrolling however may be triggering a redraw, which will access the ScreenLines pointer, even so this variable hasn't been allocated (since there is no screen). This vulnerability is fixed in 9.1.1043.

    • Update to 2:9.1.1113-1
    Published Updated
  15. CVE-2025-22134

    Medium · CVSS 4.2EPSS 0.38%Fix available

    heap-buffer-overflow with visual mode in Vim < 9.1.1003

    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 of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won't try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github us

    • Update to 2:9.1.1113-1
    Published Updated
  16. CVE-2024-47814

    Low · CVSS 3.9EPSS 0.3%Fix available

    use-after-free when closing buffers in Vim

    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 to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Update to 2:9.1.0777-1
    Published Updated
  17. CVE-2024-45306

    Medium · CVSS 4.5EPSS 0.3%Fix available

    heap-buffer-overflow in Vim

    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 pos

    • Update to 2:9.1.0709-1
    Published Updated
  18. CVE-2024-43802

    Medium · CVSS 4.5EPSS 0.3%Fix available

    heap-buffer-overflow in ins_typebuf() in Vim < 9.1.0697

    Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this

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

    Medium · CVSS 4.5EPSS 0.31%Fix available

    heap-buffer-overflow in do_search() in Vim < 9.1.0689

    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 right-left mode (:set rl) is enabled, the search pattern is reversed. This happens by allocating a new buffer. If the search pattern contains some ASCII NUL characters, the buffer allocated will be smaller than the original allocated buffer (because for allocating the reversed buffer, the strlen() function is called, which only counts until it notices an ASCII NUL byte ) and thus the original length indicator is wrong.

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

    Medium · CVSS 4.5EPSS 0.35%Fix available

    Vim heap-use-after-free in src/arglist.c:207

    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 just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe

    • Update to 2:9.1.0698-1
    Published Updated

Check your server

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

Check your server →