Vulnerabilities · 2022 · Vim
CVE-2022-1620
Vim vulnerability
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.
Affected products
Vim, Fedora, Macos. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vim/vim/commit/8e4b76da1d7e987d43ca960dfbc372d1c617466f · Patch
- seclists.org/fulldisclosure/2022/Oct/41 · Third Party Advisory
- huntr.dev/bounties/7a4c59f3-fcc0-4496-995d-5ca6acd2da51 · Exploit
- security.gentoo.org/glsa/202208-32 · Third Party Advisory
- support.apple.com/kb/HT213488 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Oct/28
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H
- nvd.nist.gov/vuln/detail/CVE-2022-1620
- cve.org/CVERecord?id=CVE-2022-1620
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.