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