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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-06-28 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-2231, DEBIAN-CVE-2022-2231
- Record: https://cvemate.com/vulnerability/CVE-2022-2231 · JSON: https://cvemate.com/vulnerability/CVE-2022-2231/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.286%, percentile 71.135%, 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.0135-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.10
- fedoraproject fedora: 35 \| 36
- vim vim: \< 8.2.5169
- vim vim/vim: ≥ unspecified, \< 8.2

## References

- <https://huntr.dev/bounties/8dae6ab4-7a7a-4716-a65c-9b090fa057b5>
- <https://github.com/vim/vim/commit/79481367a457951aabd9501b510fd7e3eb29c3d8>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-2231>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/>
- <https://ubuntu.com/security/notices/USN-6270-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-2231>
- <https://security-tracker.debian.org/tracker/CVE-2022-2231>

---

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