# CVE-2022-1620: NULL Pointer Dereference in function vim\_regexec\_string at regexp.c:2729 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-05-08 · Modified: 2026-10-08
- Aliases: ALPINE-CVE-2022-1620, UBUNTU-CVE-2022-1620, DEBIAN-CVE-2022-1620
- Record: https://cvemate.com/vulnerability/CVE-2022-1620 · JSON: https://cvemate.com/vulnerability/CVE-2022-1620/json

## Description

```text
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in GitHub repository vim/vim prior to 8.2.4901. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 allows attackers to cause a denial of service (application crash) via a crafted input.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.607%, percentile 76.727%, 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): \< 8.2.4969-r0
- apple macos: \< 13.0
- debian vim (Debian): \< 2:9.0.0135-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm5 \| \< 2:7.4.1689-3ubuntu1.5+esm6 \| \< 2:8.0.1453-1ubuntu1.9 \| \< 2:8.1.2269-1ubuntu5.8 \| \< 2:8.2.3995-1ubuntu2.1
- fedoraproject fedora: 34 \| 35 \| 36
- vim vim: \< 8.2.4901
- vim vim/vim: ≥ unspecified, \< 8.2.4901

## References

- <https://huntr.dev/bounties/7a4c59f3-fcc0-4496-995d-5ca6acd2da51>
- <https://github.com/vim/vim/commit/8e4b76da1d7e987d43ca960dfbc372d1c617466f>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://support.apple.com/kb/HT213488>
- <http://seclists.org/fulldisclosure/2022/Oct/41>
- <http://seclists.org/fulldisclosure/2022/Oct/28>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-1620>
- <https://ubuntu.com/security/CVE-2022-1620>
- <https://ubuntu.com/security/notices/USN-5460-1>
- <https://ubuntu.com/security/notices/USN-5613-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-1620>
- <https://ubuntu.com/security/notices/USN-5613-2>
- <https://security-tracker.debian.org/tracker/CVE-2022-1620>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1620>

---

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