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-2023-1975

Active Important

ALAS2-2023-1975 (important): vim

Published
06 Mar 2023
Updated
07 Mar 2023

Related CVEs

CVE identifiers linked by this publisher.

22

Description

A heap buffer overflow vulnerability was found in vim's ins_compl_infercase_gettext() function of the src/insexpand.c file. This flaw occurs when vim tries to access uninitialized memory when completing a long line. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap-based buffer overflow that causes an

Read full publisher description 3152 characters

A heap buffer overflow vulnerability was found in vim's ins_compl_infercase_gettext() function of the src/insexpand.c file. This flaw occurs when vim tries to access uninitialized memory when completing a long line. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap-based buffer overflow that causes an application to crash, possibly executing code and corrupting memory. (CVE-2022-2522) A flaw was found in vim. The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-2571) A flaw was found in vim. The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-2580) A flaw was found in vim. The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-2581) NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224. (CVE-2022-2874) A heap use-after-free vulnerability was found in vim's do_tag() function of the src/tag.c file. The issue triggers when the 'tagfunc' closes the window. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free that causes an application to crash, possibly executing code and corrupting memory. (CVE-2022-3134) NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404. (CVE-2022-3153) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0483. (CVE-2022-3234) Use After Free in GitHub repository vim/vim prior to 9.0.0490. (CVE-2022-3235) Use After Free in GitHub repository vim/vim prior to 9.0.0530. (CVE-2022-3256) NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552. (CVE-2022-3278) Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0577. (CVE-2022-3296) Use After Free in GitHub repository vim/vim prior to 9.0.0579. (CVE-2022-3297) Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598. (CVE-2022-3324) Use After Free in GitHub repository vim/vim prior to 9.0.0614. (CVE-2022-3352) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742. (CVE-2022-3491) A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse in gui_x11.c in vim 8.1.2269 thru 9.0.0339 allows attackers to cause denial of service or other unspecified impacts. (CVE-2022-47024) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144. (CVE-2023-0051) Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1145. (CVE-2023-0054) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1189. (CVE-2023-0288) Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1225. (CVE-2023-0433) Divide By Zero in GitHub repository vim/vim prior to 9.0.1247. (CVE-2023-0512)

Solution

Run yum update vim or yum update --advisory ALAS2-2023-1975 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-9.0.1314-1.amzn2.0.1.aarch64
    • vim-minimal-9.0.1314-1.amzn2.0.1.aarch64
    • vim-enhanced-9.0.1314-1.amzn2.0.1.aarch64
    • vim-X11-9.0.1314-1.amzn2.0.1.aarch64
    • vim-debuginfo-9.0.1314-1.amzn2.0.1.aarch64
  2. 2vim

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

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

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

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

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

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

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • vim-common-9.0.1314-1.amzn2.0.1.x86_64
    • vim-minimal-9.0.1314-1.amzn2.0.1.x86_64
    • vim-enhanced-9.0.1314-1.amzn2.0.1.x86_64
    • vim-X11-9.0.1314-1.amzn2.0.1.x86_64
    • vim-debuginfo-9.0.1314-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

44
  • CVE-2022-2522 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2522
  • CVE-2022-2571 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2571
  • CVE-2022-2580 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2580
  • CVE-2022-2581 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2581
  • CVE-2022-2874 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2874
  • CVE-2022-3134 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3134
  • CVE-2022-3153 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3153
  • CVE-2022-3234 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3234
  • CVE-2022-3235 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3235
  • CVE-2022-3256 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3256
  • CVE-2022-3278 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3278
  • CVE-2022-3296 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3296
  • CVE-2022-3297 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3297
  • CVE-2022-3324 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3324
  • CVE-2022-3352 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3352
  • CVE-2022-3491 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3491
  • CVE-2022-47024 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-47024
  • CVE-2023-0051 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-0051
  • CVE-2023-0054 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-0054
  • CVE-2023-0288 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-0288
  • CVE-2023-0433 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-0433
  • CVE-2023-0512 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-0512
  • CVE-2022-2522 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2522
  • CVE-2022-2571 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2571
  • CVE-2022-2580 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2580
  • CVE-2022-2581 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2581
  • CVE-2022-2874 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2874
  • CVE-2022-3134 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3134
  • CVE-2022-3153 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3153
  • CVE-2022-3234 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3234
  • CVE-2022-3235 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3235
  • CVE-2022-3256 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3256
  • CVE-2022-3278 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3278
  • CVE-2022-3296 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3296
  • CVE-2022-3297 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3297
  • CVE-2022-3324 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3324
  • CVE-2022-3352 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3352
  • CVE-2022-3491 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3491
  • CVE-2022-47024 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-47024
  • CVE-2023-0051 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0051
  • CVE-2023-0054 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0054
  • CVE-2023-0288 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0288
  • CVE-2023-0433 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0433
  • CVE-2023-0512 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0512

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-2023-1975.htmlUnknown3b07e2da1b14d3441c4f1d48eddef9fdfd2d22aa2987bf215717e1481ec6ecc3amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-1975.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-1975.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