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

Moderate: vim security update

Published Feb 1, 2022 · Updated Feb 5, 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 1

ReleasePackageFixed in
Rocky Linux · 8 vim 2:8.0.1763-16.el8_5.4

Vulnerabilities 5

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2016056
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2028122
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2028212
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2039685
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2039687