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

- Severity: High 7.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-28T00:00:00.000Z
- Modified: 2026-06-17T04:41:31.897Z
- Weaknesses: CWE-476
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2
- vim vim: before 8.2.5169
- fedoraproject fedora: 35; 36

## Every score

- @huntrdev: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/8dae6ab4-7a7a-4716-a65c-9b090fa057b5> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/79481367a457951aabd9501b510fd7e3eb29c3d8> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-2231](https://www.cve.org/CVERecord?id=CVE-2022-2231), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2231](https://nvd.nist.gov/vuln/detail/CVE-2022-2231), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2231 · Whole record: https://cve.day/CVE-2022-2231.json · Rebuilt by cve.day 2026-11-25T22:58:12.618Z
