CVE-2022-1674
NixOS vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in the vimregexecstring() function at regexp.c:2733 in GitHub repository vim/vim prior to version 8.2.4938. The vulnerability was disclosed on May 12, 2022 and affects the Vim text editor (NVD, Red Hat).

Technical details

The vulnerability occurs in the vimregexecstring() function when attempting to match a buffer with an invalid pattern. The issue arises when the function tries to process a NULL regprog pointer, which can lead to a crash. This was fixed by adding a NULL pointer check before accessing the regprog (GitHub Commit).

Impact

When exploited, this vulnerability can cause a denial of service through application crash when processing specially crafted input (Red Hat).

Mitigation and workarounds

The vulnerability was patched in Vim version 8.2.4938. Users should upgrade to this version or later. For specific distributions, security updates were released: Fedora 34 (vim-8.2.4975-1.fc34), Fedora 35 (vim-8.2.4975-1.fc35), and Fedora 36 (vim-8.2.4969-1.fc36) (Fedora Updates).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-11989HIGH8.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 27, 2025
CVE-2025-11447HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 27, 2025
CVE-2025-6601MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 27, 2025
CVE-2025-11974MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 27, 2025
CVE-2025-11971MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management