vim prior 8.2.4938 regexp.c vim_regexec_string null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability classified as problematic has been found in vim (Word Processing Software). This affects the function vim_regexec_string of the file regexp.c. The manipulation with an unknown input leads to a denial of service vulnerability. CWE is classifying the issue as CWE-476. This is going to have an impact on availability. The summary by CVE is:

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.

The weakness was published 05/12/2022 as a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060. The advisory is shared at This vulnerability is uniquely identified as CVE-2022-1674 since 05/11/2022. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.

Upgrading to version 8.2.4938 eliminates this vulnerability. Applying the patch a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060 is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be upgrading to the latest version.




CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.3

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 6.6
CNA Vector ( 🔒



VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍


Class: Denial of service
CWE: CWE-476
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒


Threat Intelligenceinfoedit

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: vim 8.2.4938
Patch: a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060


05/11/2022 CVE reserved
05/12/2022 +1 days Advisory disclosed
05/12/2022 +0 days VulDB entry created
05/14/2022 +2 days VulDB last update


Advisory: a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060
Status: Confirmed

CVE: CVE-2022-1674 (🔒)


Created: 05/12/2022 03:07 PM
Updated: 05/14/2022 05:40 PM
Changes: (2) advisory_identifier source_cve_nvd_summary
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!