SECURITY UPDATE: reading past the end of a completion with a long line
and 'infercase' set
debian/patches/CVE-2022-2343.patch: build the case-inferred match in
a growarray when it does not fit in IObuff and NUL-terminate it in
ins_compl_add_infercase() in src/insexpand.c, add test
CVE-2022-2343
SECURITY UPDATE: heap-buffer-overflow in vim_regsub_both() when a
substitute expression exchanges windows
debian/patches/CVE-2023-4781-2.patch: refuse to exchange windows in
win_exchange() in src/window.c while text is locked, completing the
partial fix in CVE-2023-4781.patch, add test
CVE-2023-4781
SECURITY UPDATE: code injection via a crafted filename in the netrw mf
command
debian/patches/CVE-2026-43961.patch: use lambdas instead of string
concatenation in the filter() calls of s:NetrwMarkFile() and
s:NetrwTreeDisplay() in runtime/autoload/netrw.vim, add test
CVE-2026-43961
SECURITY UPDATE: code injection via a crafted buffer name in netrw
debian/patches/CVE-2026-55895.patch: escape the buffer name with
fnameescape() before ":b" in s:NetrwBrowse() in
runtime/autoload/netrw.vim
CVE-2026-55895
SECURITY UPDATE: code execution during Python omni-completion via a
crafted docstring
debian/patches/CVE-2026-57456.patch: quote docstrings with repr() in
get_code() in runtime/autoload/python3complete.vim and
runtime/autoload/pythoncomplete.vim, add test
CVE-2026-57456
SECURITY UPDATE: Ex command execution during C omni-completion via a
crafted tags file
debian/patches/CVE-2026-59858.patch: escape the type name before
inserting it into the :vimgrep pattern in s:StructMembers() in
runtime/autoload/ccomplete.vim, add test
CVE-2026-59858
debian/patches/fix-Test_terminal_cwd.patch,
debian/patches/fix-Test_previewpopup.patch: backport upstream test
fixes 9.0.0541 and 8.2.0242 so that Test_terminal_cwd and
Test_previewpopup pass when built from a long directory path