CVE-2022-1674

NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 in vim/vim

MEDIUM
5.5
CVSS Score
Published: May 12, 2022 at 12:00 AM UTC
Updated: October 8, 2026 at 10:17 PM UTC
3 products affected across 3 vendorsmacOSFedoraVim

Using vim/vim by vim?

Get instant alerts when new vulnerabilities affect vim/vim - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 13.0*
Affected range stops below 13.0, so it looks safe — our inference, not a vendor statement
v < 8.2.4938*
Affected range stops below 8.2.4938, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card