Skip to content
OpenAdvisories
Medium ALSA-2022:0366 5 CVEs

Moderate: vim security update

Published Feb 1, 2022 · Updated Oct 29, 2026

Summary

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

* vim: heap-based buffer overflow in win_redr_status() in drawscreen.c (CVE-2021-3872)

* vim: illegal memory access in find_start_brace() in cindent.c when C-indenting (CVE-2021-3984)

* vim: heap-based buffer overflow in find_help_tags() in help.c (CVE-2021-4019)

* vim: use-after-free in win_linetabsize() (CVE-2021-4192)

* vim: out-of-bound read in getvcol() (CVE-2021-4193)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 5

ReleasePackageFixed in
AlmaLinux · 8 vim-common 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-enhanced 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-filesystem 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-minimal 2:8.0.1763-16.el8_5.13
AlmaLinux · 8 vim-X11 2:8.0.1763-16.el8_5.13

Vulnerabilities 5

References

  • report
    https://vulners.com/cve/CVE-2021-3872
  • report
    https://vulners.com/cve/CVE-2021-3984
  • report
    https://vulners.com/cve/CVE-2021-4019
  • report
    https://vulners.com/cve/CVE-2021-4192
  • report
    https://vulners.com/cve/CVE-2021-4193