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

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

## Description

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

## Signals

- CVSS: 6.3 medium (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.912%, percentile 61.276%, 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

- alpine vim (Alpine Linux): \< 9.0.0369-r0
- debian vim (Debian): \< 2:9.0.0626-1
- ubuntu vim (Ubuntu): \< 2:8.1.2269-1ubuntu5.13 \| \< 2:8.2.3995-1ubuntu2.5
- fedoraproject fedora: 37
- vim vim: \< 9.0.0259
- vim vim/vim: ≥ unspecified, \< 9.0.0259

## References

- <https://huntr.dev/bounties/6e7b12a5-242c-453d-b39e-9625d563b0ea>
- <https://github.com/vim/vim/commit/80525751c5ce9ed82c41d83faf9ef38667bf61b1>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-2980>
- <https://ubuntu.com/security/CVE-2022-2980>
- <https://ubuntu.com/security/notices/USN-5995-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-2980>
- <https://security-tracker.debian.org/tracker/CVE-2022-2980>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2980>

---

Data as of 2026-12-05T03:38:44.012Z. 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
