[CLSA-2026:1778260679] vim: Fix of 7 CVEs
Type:
security
Severity:
Moderate
Release date:
2026-05-08 17:18:06 UTC
Description:
- CVE-2021-3875: fix ml_get error after search with range; clamp ea->line2 to the buffer length in get_address() so out-of-range addresses do not produce an out-of-bounds read (ex_docmd.c, upstream patch 8.2.3489) - CVE-2022-4293: fix crash when dividing the largest negative integer by -1 in num_divide(); detect the LONG_MIN / -1 case and clamp the result (typval.c, upstream patch 9.0.0913) - CVE-2023-48231: fix use-after-free in win_close() when an autocmd closes a previously-validated window; re-check window validity before setting w_closing (window.c, upstream patch 9.0.2106) - CVE-2023-48235: fix integer overflow in ex address parsing; verify lnum is positive before subtracting from LONG_MAX in get_address() and add e_line_number_out_of_range[] in src/errors.h (ex_docmd.c + errors.h, upstream patches 8.2.3659 + 9.0.2110) - CVE-2024-41957: fix use-after-free in tagstack_clear_entry(); use VIM_CLEAR to NULL pointers when freeing the tagstack on win_free (window.c, upstream patch 9.1.0647) - CVE-2024-43374: fix use-after-free in alist_add(); lock the current window across the buflist_add() autocmd window so its tagstack reference cannot be freed underneath us (arglist.c, upstream patch 9.1.0678) - CVE-2024-47814: fix use-after-free when closing a buffer; abort do_ecmd() if the new buffer is marked for deletion via b_locked or b_locked_split (ex_cmds.c, upstream patch 9.1.0764)
Updated packages:
  • vim-X11-8.2.2637-22.el9_6.1.tuxcare.els24.x86_64.rpm
    sha:f5b51c340cdb211cefc35615d45c987fb604253541aeea1b9c7a6d3563b09e45
  • vim-common-8.2.2637-22.el9_6.1.tuxcare.els24.x86_64.rpm
    sha:6873c365e70bf2d9ddafb4a204c81860fca7922d96e613fbd6712d8f360139a6
  • vim-enhanced-8.2.2637-22.el9_6.1.tuxcare.els24.x86_64.rpm
    sha:0f829f5fc7aa914c0c6ab08c36cafbc6201ecdb5b5c50014d506a7b2f6226e37
  • vim-filesystem-8.2.2637-22.el9_6.1.tuxcare.els24.noarch.rpm
    sha:e326ddd2c33a4d4ccd8fbe3b9966a2d09736854dc14bcd0d039c474b8b19bb33
  • vim-minimal-8.2.2637-22.el9_6.1.tuxcare.els24.x86_64.rpm
    sha:2f8cdd32030496477721005269111130fd243982cc6561c6407b2ac6a5e3d0ff
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.