---
id: CVE-2022-2874
title: NULL Pointer Dereference in vim/vim
summary: NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H'
cvssSource: cna
cwe:
  - CWE-476
vendor: vim
product: vim/vim
affected:
  - vim/vim >= unspecified < 9.0.0224
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-08T21:12:37.659297Z'
published: '2022-08-18'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T22:00:26.811Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-2874'
references:
  - url: 'https://huntr.dev/bounties/95f97dfe-247d-475d-9740-b7adc71f4c79'
  - url: 'https://github.com/vim/vim/commit/4875d6ab068f09df88d24d81de40dcd8d56e243d'
  - url: 'https://security.gentoo.org/glsa/202305-16'
    label: GLSA-202305-16
tags:
  - cve.org
epss: 0.00488
epssPercentile: 0.42296
ingestedAt: '2026-11-05T19:30:42.862Z'
---

## Overview

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

## Affected

- `vim/vim >= unspecified < 9.0.0224`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
