Bug 2085393 (CVE-2022-1674)

Summary: CVE-2022-1674 vim: NULL pointer dereference in vim_regexec_string() of regexp.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fhrdina, gchamoul, karsten, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: vim 8.2.4938 Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2087006, 2087008    
Bug Blocks: 2085396    

Description TEJ RATHI 2022-05-13 08:58:43 UTC
NULL Pointer Dereference in function vim_regexec_string at regexp.c in vim/vim prior to 8.2.4938. NULL Pointer Dereference in function vim_regexec_string() at regexp.c allows attackers to cause a denial of service (application crash) via a crafted input.


Comment 1 TEJ RATHI 2022-05-17 06:09:24 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2087006]