All reports
Low

vim: NULL pointer dereference in vim_regexec_string() of regexp.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-1674

Probability of exploitation in the next 30 days: 1.56%

FIRST EPSS · 2026-11-22

Description

NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 in GitHub repository vim/vim prior to 8.2.4938. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 allows attackers to cause a denial of service (application crash) via a crafted input.

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.