p PatchFirst

PatchFirst · Latest vulnerabilities

vim vulnerabilities · Page 2

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 253

  1. CVE-2026-52859

    Medium · CVSS 6.9EPSS 0.3%Fix available

    Vim: Out-of-bounds Read in Terminal Screen Snapshot

    Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_snapshot() function in src/terminal.c copies the visible terminal screen into the scrollback buffer when a snapshot is taken. For each screen cell it walks the cell's chars[] array with no upper bound, stopping only when it encounters a NUL terminator. When a cell legitimately fills all VTERM_MAX_CHARS_PER_CELL (6) slots — a base character plus five combining marks — the bundled libvterm returns the array without a terminating NUL, so the loop reads past the fixed six-element array and appends the out-of-bounds values to a buffer reserved for only six chara

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  2. CVE-2026-52858

    High · CVSS 7.3EPSS 0.2%Fix available

    Vim: Arbitrary Code Execution via Python Omni-Completion

    Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  3. CVE-2026-47162

    High · CVSS 7.3EPSS 0.27%Fix available

    Vim: Vimscript Code Injection in netrw NetrwBookHistSave() via crafted directory name

    Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated into a single-quoted Vimscript string literal without escaping embedded single quotes, allowing a crafted directory name to break out of the string context and execute arbitrary Vimscript, including shell commands via system() and :!, the next time the history file is sourced. This issue ha

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  4. CVE-2026-47167

    Medium · CVSS 5.1EPSS 0.14%Fix available

    Vim: Vimscript Code Injection in cucumber filetype plugin via crafted step-definition regex

    Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  5. CVE-2026-46483

    Low · CVSS 3.6EPSS 0.55%Fix available

    Vim: Command injection in tar#Vimuntar via missing shellescape {special} flag

    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) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  6. CVE-2026-45130

    Medium · CVSS 6.6EPSS 0.25%Fix available

    Vim: Heap Buffer Overflow in spell file loading

    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 the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in versi

    • Update to 2:9.1.1230-2+deb13u1
  7. CVE-2026-44656

    Medium · CVSS 4.6EPSS 0.92%Fix available

    Vim: OS Command Injection via 'path' completion

    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 name completion. Because the path option lacks the P_SECURE flag, it can be set from a modeline, allowing an attacker who controls the contents of a file to execute arbitrary shell commands when the user opens that file in Vim and triggers :find completion. This issue has been patched in version 9.2.0435.

    • Update to 2:9.1.1230-2+deb13u1
  8. CVE-2026-42307

    Medium · CVSS 4.4EPSS 0.77%Fix available

    Vim: OS Command Injection in netrw

    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 the sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.

    • Update to 2:9.1.1230-2+deb13u1
  9. CVE-2026-41411

    Medium · CVSS 6.6EPSS 0.52%Fix available

    Vim: Command injection via backtick expansion in tag filenames

    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 to resolve environment variables and wildcards. If the filename field contains backtick syntax (e.g., `command`), Vim executes the embedded command via the system shell with the full privileges of the running user.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  10. CVE-2026-39881

    Medium · CVSS 5EPSS 0.64%Fix available

    Vim Ex command injection in Vims NetBeans integration

    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 in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  11. CVE-2026-35177

    Medium · CVSS 4.1EPSS 0.13%Fix available

    Path traversal issue with zip.vim in Vim

    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 vulnerability is fixed in 9.2.0280.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  12. CVE-2026-34982

    High · CVSS 8.2EPSS 0.46%Fix available

    Vim modeline bypass via various options affects Vim < 9.2.0276

    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 missing the `P_MLE` flag, allowing a modeline to be executed. Additionally, the `mapset()` function lacks a `check_secure()` call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  13. CVE-2026-33412

    Medium · CVSS 5.6EPSS 0.97%Fix available

    Vim affected by Command injection via newline in glob()

    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 attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  14. CVE-2026-32249

    Medium · CVSS 5.3EPSS 0.16%Fix available

    NFA regex engine NULL pointer dereference affects Vim < 9.2.0137

    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 composing bytes of that character as separate NFA states. This corrupts the NFA postfix stack, resulting in NFA_START_COLL having a NULL out1 pointer. When nfa_max_width() subsequently traverses the compiled NFA to estimate match width for the look-behind assertion, it dereferences state->out1->out without a NULL check, causing a segmentation fault. This vulnerability is fixed in 9.2.0137.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  15. CVE-2026-28422

    Low · CVSS 2.2EPSS 0.17%Fix available

    Vim has stack-buffer-overflow in build_stl_str_hl()

    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.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  16. CVE-2026-28421

    Medium · CVSS 5.3EPSS 0.21%Fix available

    Vim has a heap-buffer-overflow and a segmentation fault

    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 blocks within a swap file. Version 9.2.0077 fixes the issue.

    • Update to 2:9.1.1230-2+deb13u1
    Published Updated
  17. 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.1.1230-2+deb13u1
    Published Updated
  18. 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.1.1230-2+deb13u1
    Published Updated
  19. 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.1.1230-2+deb13u1
    Published Updated
  20. 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.1.1230-2+deb13u1
    Published Updated

Check your server

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

Check your server →