# CVE-2022-2874: NULL Pointer Dereference in vim/vim

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-18 · Modified: 2026-11-02
- Aliases: UBUNTU-CVE-2022-2874, DEBIAN-CVE-2022-2874
- Record: https://cvemate.com/vulnerability/CVE-2022-2874 · JSON: https://cvemate.com/vulnerability/CVE-2022-2874/json

## Description

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

## Signals

- CVSS: 6.6 medium (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- EPSS: 0.49%, percentile 43.752%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian vim (Debian): \< 2:9.0.0229-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.11
- vim vim: \< 9.0.0224
- vim vim/vim: ≥ unspecified, \< 9.0.0224

## References

- <https://huntr.dev/bounties/95f97dfe-247d-475d-9740-b7adc71f4c79>
- <https://github.com/vim/vim/commit/4875d6ab068f09df88d24d81de40dcd8d56e243d>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-2874>
- <https://ubuntu.com/security/notices/USN-6302-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-2874>
- <https://security-tracker.debian.org/tracker/CVE-2022-2874>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2874>

---

Data as of 2026-12-05T03:38:43.064Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
