Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2022-1743

Active Moderate

ALAS2-2022-1743 (medium): vim

Published
20 Jan 2022
Updated
23 Sep 2025

Related CVEs

CVE identifiers linked by this publisher.

12
Publisher relationship details 12 records

Description

vim is vulnerable to Heap-based Buffer Overflow (CVE-2021-3903) A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-3927) A

Read full publisher description 2582 characters

vim is vulnerable to Heap-based Buffer Overflow (CVE-2021-3903) A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-3927) A flaw was found in vim. A possible stack-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-3928) A flaw was found in vim. A possible heap-based buffer overflow allows an attacker to input a specially crafted file, leading to a crash or code execution. The highest threat from this vulnerability is confidentiality, integrity, and system availability. (CVE-2021-3984) A flaw was found in vim. A possible heap-based buffer overflow vulnerability allows an attacker to input a specially crafted file, leading to a crash or code execution. The highest threat from this vulnerability is system availability. (CVE-2021-4019) vim is vulnerable to Use After Free (CVE-2021-4069) A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. (CVE-2021-4136) A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. (CVE-2021-4166) A flaw was found in vim. A possible use after free vulnerability could allow an attacker to input a specially crafted file leading to a crash or code execution. (CVE-2021-4173) A flaw was found in vim. A possible use after free vulnerability could allow an attacker to input a specially crafted file leading to a crash or code execution. (CVE-2021-4187) It was found that vim was vulnerable to use-after-free flaw in win_linetabsize(). Sourcing a specially crafted file in vim could crash the vim process or possibly lead to other undefined behaviors. (CVE-2021-4192) It was found that vim was vulnerable to an out-of-bound read flaw in getvcol(). A specially crafted file could be used to, when opened in vim, disclose some of the process's internal memory. (CVE-2021-4193) References to CVE-2021-4192 and CVE-2021-4193 have been added after the original release of this advisory, however those vulnerabilities were fixed by the packages referenced by this advisory's initial release on 2022-01-18.

Solution

Run yum update vim or yum update --advisory ALAS2-2022-1743 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1vim

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • vim-common-8.2.4006-1.amzn2.0.1.aarch64
    • vim-minimal-8.2.4006-1.amzn2.0.1.aarch64
    • vim-enhanced-8.2.4006-1.amzn2.0.1.aarch64
    • vim-X11-8.2.4006-1.amzn2.0.1.aarch64
    • vim-debuginfo-8.2.4006-1.amzn2.0.1.aarch64
  2. 2vim

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • vim-common-8.2.4006-1.amzn2.0.1.i686
    • vim-minimal-8.2.4006-1.amzn2.0.1.i686
    • vim-enhanced-8.2.4006-1.amzn2.0.1.i686
    • vim-X11-8.2.4006-1.amzn2.0.1.i686
    • vim-debuginfo-8.2.4006-1.amzn2.0.1.i686
  3. 3vim

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • vim-filesystem-8.2.4006-1.amzn2.0.1.noarch
    • vim-data-8.2.4006-1.amzn2.0.1.noarch
  4. 4vim

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • vim-8.2.4006-1.amzn2.0.1.src
  5. 5vim

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • vim-common-8.2.4006-1.amzn2.0.1.x86_64
    • vim-minimal-8.2.4006-1.amzn2.0.1.x86_64
    • vim-enhanced-8.2.4006-1.amzn2.0.1.x86_64
    • vim-X11-8.2.4006-1.amzn2.0.1.x86_64
    • vim-debuginfo-8.2.4006-1.amzn2.0.1.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

24
  • CVE-2021-3903 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3903
  • CVE-2021-3927 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3927
  • CVE-2021-3928 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3928
  • CVE-2021-3984 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3984
  • CVE-2021-4019 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4019
  • CVE-2021-4069 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4069
  • CVE-2021-4136 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4136
  • CVE-2021-4166 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4166
  • CVE-2021-4173 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4173
  • CVE-2021-4187 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4187
  • CVE-2021-4192 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4192
  • CVE-2021-4193 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-4193
  • CVE-2021-3903 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3903
  • CVE-2021-3927 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3927
  • CVE-2021-3928 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3928
  • CVE-2021-3984 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3984
  • CVE-2021-4019 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4019
  • CVE-2021-4069 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4069
  • CVE-2021-4136 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4136
  • CVE-2021-4166 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4166
  • CVE-2021-4173 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4173
  • CVE-2021-4187 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4187
  • CVE-2021-4192 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4192
  • CVE-2021-4193 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4193

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2022-1743.htmlUnknowne6ffdb32b8a02ca9ea2830c1f53a6c1e09a4e1fda953792321797fa71ff7af97amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1743.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1743.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected