Skip to content
OpenAdvisories
High USN-5613-2 7 CVEs

vim regression

Published Sep 19, 2022 · Updated Feb 10, 2026

Summary

USN-5613-1 fixed vulnerabilities in Vim. Unfortunately that update failed
to include binary packages for some architectures. This update fixes that
regression.

We apologize for the inconvenience.

Original advisory details:

It was discovered that Vim was not properly performing bounds checks
when executing spell suggestion commands. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-0943)

It was discovered that Vim was using freed memory when dealing with
regular expressions through its old regular expression engine. If a user
were tricked into opening a specially crafted file, an attacker could
crash the application, leading to a denial of service, or possibly achieve
code execution. (CVE-2022-1154)

It was discovered that Vim was not properly performing checks on name of
lambda functions. An attacker could possibly use this issue to cause a
denial of service. This issue affected only Ubuntu 22.04 LTS.
(CVE-2022-1420)

It was discovered that Vim was incorrectly performing bounds checks
when processing invalid commands with composing characters in Ex
mode. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. (CVE-2022-1616)

It was discovered that Vim was not properly processing latin1 data
when issuing Ex commands. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (CVE-2022-1619)

It was discovered that Vim was not properly performing memory
management when dealing with invalid regular expression patterns in
buffers. An attacker could possibly use this issue to cause a denial of
service. (CVE-2022-1620)

It was discovered that Vim was not properly processing invalid bytes
when performing spell check operations. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-1621)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS vim 2:8.1.2269-1ubuntu5.9

Vulnerabilities 7

  • High 8.4

    Heap-based Buffer Overflow occurs in vim in vim/vim

    Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.

  • High 7.8

    Use after free in utf_ptr2char in vim/vim

    Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.

  • High 7.3

    Use after free in append_command in vim/vim

    Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

  • High 7.3

    Heap buffer overflow in vim_strncpy find_word in vim/vim

    Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

  • Medium 6.8

    Use of Out-of-range Pointer Offset in vim/vim

    Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.

  • Medium 6.6

    NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in vim/vim

    NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in GitHub repository vim/vim prior to 8.2.4901. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 allows attackers to cause a denial of service (application crash)…

  • Medium 6.1

    Heap-based Buffer Overflow in function cmdline_erase_chars in vim/vim

    Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. This vulnerabilities are capable of crashing software, modify memory, and possible remote execution

References

  • report
    https://ubuntu.com/security/CVE-2022-0943
  • report
    https://ubuntu.com/security/CVE-2022-1154
  • report
    https://ubuntu.com/security/CVE-2022-1420
  • report
    https://ubuntu.com/security/CVE-2022-1616
  • report
    https://ubuntu.com/security/CVE-2022-1619
  • report
    https://ubuntu.com/security/CVE-2022-1620
  • report
    https://ubuntu.com/security/CVE-2022-1621
  • report
    https://launchpad.net/bugs/1989973