QID 355139

Date Published: 2023-05-29

QID 355139: Amazon Linux Security Advisory for vim : ALAS2023-2023-151

A heap-based buffer overflow vulnerability was found in github repository vim/vim prior to 9.0.1376 in vim's utf_ptr2char() function of the src/mbyte.c file.
This flaw occurs because there is access to invalid memory with put in visual block mode.
An attacker can trick a user into opening a specially crafted file, triggering an out-of-bounds read that causes an application to crash, leading to a denial of service. (
( CVE-2023-1170) incorrect calculation of buffer size in github repository vim/vim prior to 9.0.1378. (
( CVE-2023-1175) null pointer dereference in github repository vim/vim prior to 9.0.1392. (
( CVE-2023-1264) null pointer dereference in github repository vim/vim prior to 9.0.1402. (
( CVE-2023-1355)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 6.6 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-151 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355139

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-151 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-151.html