SECURITY UPDATE: use-after-free when 'tagfunc' wipes out the buffer
that holds 'complete'
debian/patches/CVE-2022-3297.patch: use a copy of 'complete' in
ins_compl_get_exp(), check that the window is still valid in
ins_compl_next_buf() and do not insert the completion when the
current buffer changed in ins_compl_next() in src/insexpand.c, check
the cursor line in validate_cursor() in src/move.c, add test
CVE-2022-3297
SECURITY UPDATE: stack buffer underflow with an unexpected :finally or
:endtry
debian/patches/CVE-2022-3296.patch: check that a :try can be found in
the condition stack in ex_finally() and ex_endtry() in src/ex_eval.c,
add test
CVE-2022-3296
SECURITY UPDATE: use-after-free with the command-line window and a
BufEnter autocommand
debian/patches/CVE-2022-3235.patch: check that the buffer of the
'iminsert' / 'imsearch' pointer is still valid in getcmdline_int() in
src/ex_getln.c
CVE-2022-3235
SECURITY UPDATE: use-after-free when 'tagfunc' closes the window
debian/patches/CVE-2022-3134.patch: bail out of do_tag() when the
window was closed in src/tag.c, add test
CVE-2022-3134
SECURITY UPDATE: heap-based buffer overflow in :substitute with an
expression that uses CTRL-W gf
debian/patches/CVE-2022-4141.patch: add
check_text_or_curbuf_locked() in src/normal.c and use it for
CTRL-W gf in src/window.c, add test
CVE-2022-4141
Hardening of the tar plugin (same class as CVE-2026-46483)
debian/patches/CVE-2026-46483-2.patch: remove s:get_gzip_command(),
which ran "file" on the unescaped archive name, and detect the
compression of .tgz archives with an escaped "file" call in
runtime/autoload/tar.vim
SECURITY UPDATE: heap-based buffer overflow with a long 'helpfile'
debian/patches/CVE-2026-25749.patch: limit the copy of 'helpfile' in
get_tagfname() in src/tag.c and leave room for "tags", add test
CVE-2026-25749
SECURITY UPDATE: stack-based buffer overflow in the NetBeans
specialKeys command
debian/patches/CVE-2026-26269.patch: check the length of the key
modifiers in special_keys() in src/netbeans.c, add test
CVE-2026-26269
SECURITY UPDATE: shell command injection in netrw through a crafted
host name
debian/patches/CVE-2026-28417.patch: validate the host name of remote
URLs before running ssh/scp/ftp and escape the ssh host in
runtime/autoload/netrw.vim, add test
CVE-2026-28417
SECURITY UPDATE: heap-based buffer overflow and out-of-bounds read with
combining characters in the terminal scrollback
debian/patches/CVE-2026-28420.patch: grow the line buffer for
VTERM_MAX_CHARS_PER_CELL characters per cell and bound the loop over
the cell characters in handle_pushline() in src/terminal.c, bound
the cell copy loops in vterm_screen_get_cell() and
vterm_screen_set_cell() in src/libvterm/src/screen.c, add test
CVE-2026-28420
SECURITY UPDATE: heap-based buffer overflow and crash when recovering
a crafted swap file
debian/patches/CVE-2026-28421.patch: validate the pointer block count
and the block numbers read from the swap file in ml_recover() in
src/memline.c, reject a zero page count in mf_get() and mf_release()
in src/memfile.c, add test
CVE-2026-28421
SECURITY UPDATE: shell command injection through a newline in glob()
debian/patches/CVE-2026-33412.patch: escape the newline character in
SHELL_SPECIAL in src/os_unix.c
CVE-2026-33412
SECURITY UPDATE: modeline sandbox bypass
debian/patches/CVE-2026-34982.patch: do not allow 'complete',
'guitabtooltip' and 'printheader' in a modeline in src/optiondefs.h,
document it in runtime/doc/options.txt, add test
CVE-2026-34982
SECURITY UPDATE: path traversal in the zip plugin
debian/patches/CVE-2026-35177.patch: detect path traversal ("../" and
absolute member names) when writing zip members and "../" members
when extracting in runtime/autoload/zip.vim, add test
CVE-2026-35177
CVE-2025-53906
SECURITY UPDATE: code execution through import statements in Python
omni-completion
debian/patches/CVE-2026-52858.patch: do not execute import statements
of the buffer unless g:pythoncomplete_allow_import is set in
runtime/autoload/python3complete.vim and
runtime/autoload/pythoncomplete.vim, document the option
CVE-2026-52858
SECURITY UPDATE: out-of-bounds read in update_snapshot()
debian/patches/CVE-2026-52859.patch: bound the loop over the cell
characters in update_snapshot() in src/terminal.c (the libvterm
bound it relies on comes with CVE-2026-28420.patch), add test
CVE-2026-52859
SECURITY UPDATE: code execution through default values and annotations
in Python omni-completion
debian/patches/CVE-2026-52860.patch: strip parameter defaults and
annotations and only keep dotted base class names before calling
exec() in runtime/autoload/python3complete.vim and
runtime/autoload/pythoncomplete.vim, add tests
CVE-2026-52860
SECURITY UPDATE: out-of-bounds write in tree_count_words()
debian/patches/CVE-2026-55693.patch: limit the depth in
tree_count_words() and sug_filltree() in src/spellfile.c, add test
CVE-2026-55693
SECURITY UPDATE: heap-based buffer overflow in set_sofo()
debian/patches/CVE-2026-73072.patch: clear sl_sal_first[] in
set_sofo() in src/spellfile.c, add test
CVE-2026-73072
SECURITY UPDATE: Ex command injection in C omni-completion
debian/patches/CVE-2026-73073.patch: use a very nomagic pattern for
the typeref/typename value in the vimgrep command of StructMembers()
in runtime/autoload/ccomplete.vim, add test
CVE-2026-73073
SECURITY UPDATE: command injection in the netrw Bookmarks, History and
Targets menus
debian/patches/CVE-2026-73078.patch: escape the directory names used
in the menu commands in runtime/autoload/netrw.vim
CVE-2026-73078
SECURITY UPDATE: stack-based buffer overflow in spell suggestion
(incomplete fix for CVE-2022-0408)
debian/patches/CVE-2022-0408-2.patch: restrict the depth to
MAXWLEN - 1 in suggest_trie_walk() in src/spellsuggest.c, add test
CVE-2022-0408
SECURITY UPDATE: heap-based buffer overflow when the command-line
window is opened from a locked context (incomplete fix for
CVE-2022-1942)
debian/patches/CVE-2022-1942-2.patch: always check
text_or_buf_locked() in open_cmdwin() in src/ex_getln.c (the check of
CVE-2022-1942.patch was not compiled) and use it in win_goto() in
src/window.c
CVE-2022-1942
SECURITY UPDATE: use-after-free in spell_move_to()
debian/patches/CVE-2022-2042.patch: initialize attr and do not use
the line pointer after it may have been freed in spell_move_to() in
src/spell.c, add test
CVE-2022-2042
Hardening of the vimgrep dummy buffer (same code as CVE-2022-3591)
debian/patches/CVE-2022-3591-2.patch: close windows that an
autocommand opened on the vimgrep dummy buffer before wiping it in
wipe_dummy_buffer() in src/quickfix.c, add test
SECURITY UPDATE: runtime plugins may run a program from the current
directory
debian/patches/CVE-2023-4736.patch: do not run gzip, unzip, perl
or ruby found in the current directory in runtime/autoload/gzip.vim,
runtime/autoload/zip.vim, runtime/ftplugin/perl.vim and
runtime/ftplugin/ruby.vim
CVE-2023-4736
SECURITY UPDATE: heap-based buffer overflow in vim_regsub_both()
debian/patches/CVE-2023-4738.patch: pass the destination length to
vim_regsub_both() and check it before copying in src/regexp.c, clamp
the copy length in do_sub() in src/ex_cmds.c