CVE-2022-2264

Public on 2022-07-01
Modified on 2023-03-22
Description
A heap buffer overflow vulnerability was found in Vim's inc() function of misc2.c. This issue occurs because Vim reads beyond the end of the line with a put command. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering an out-of-bounds read that causes a crash in the CLI tool.
Severity
Low severity
Low
CVSS v3 Base Score
3.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 vim 2022-10-17 ALAS-2022-1639 Fixed
Amazon Linux 2 - Core vim 2022-10-17 ALAS2-2022-1868 Fixed
Amazon Linux 2023 vim 2023-02-17 ALAS2023-2023-098 Fixed
Amazon Linux 2 - Core vim-8.0.1257-2.amzn2.0.1 Pending Fix
Amazon Linux 2 - Core vim-8.2.4857-1.amzn2.0.1 Pending Fix
Amazon Linux 2023 vim-8.2.4975-1.amzn2022.0.2 Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD CVSSv2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
NVD CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H