QID 353203

Date Published: 2022-04-08

QID 353203: Amazon Linux Security Advisory for vim : ALAS-2022-1579

a flaw was found in vim.
The vulnerability occurs due to a crash when recording and using select mode and leads to an out-of-bounds read.
This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (
( CVE-2022-0393) a flaw was found in vim.
The vulnerability occurs due to stack corruption when looking for spell suggestions and leads to a stack buffer overflow.
( CVE-2022-0408) a flaw was found in vim.
The vulnerability occurs due to using freed memory when the substitute uses a recursive function call, resulting in a use-after-free vulnerability.
( CVE-2022-0413) a flaw was found in vim.
The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow.
( CVE-2022-0417) a flaw was found in vim.
The vulnerability occurs due to using freed memory which results in a use-after-free vulnerability.
( CVE-2022-0443) a flaw was found in vim that causes an out-of-range pointer offset vulnerability.
( CVE-2022-0554) a heap-based buffer overflow flaw was found in vims ex_retab() function of indent.c file.
This flaw occurs when repeatedly using :retab.
This flaw allows an attacker to trick a user into opening a crafted file triggering a heap-overflow. (
( CVE-2022-0572) a stack-based buffer overflow flaw was found in vims ga_concat_shorten_esc() function of src/testing.c file

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

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2022-1579 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS-2022-1579 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2022-1579.html
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report