A NULL pointer dereference flaw was found in vim's vim_regexec_string() function in regexp.c file. The issue occurs when the function tries to match the buffer with an invalid pattern. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a NULL pointer dereference that causes an application to crash, leading to a denial of service.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 1 | vim | 2022-07-28 20:41 | ALAS-2022-1628 |
Amazon Linux 2 - Core | vim | 2022-07-19 01:26 | ALAS2-2022-1829 |
Amazon Linux 2023 | vim | 2023-02-17 20:48 | ALAS2023-2023-098 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
NVD | CVSSv2 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
NVD | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |