Vulnerabilities · 2022 · Vim
CVE-2022-1674
Vim vulnerability
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 in GitHub repository vim/vim prior to 8.2.4938. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2733 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060 · Patch
- huntr.dev/bounties/a74ba4a4-7a39-4a22-bde3-d2f8ee07b385 · Exploit
- seclists.org/fulldisclosure/2022/Oct/41 · Third Party Advisory
- 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/B
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I
- nvd.nist.gov/vuln/detail/CVE-2022-1674
- cve.org/CVERecord?id=CVE-2022-1674
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.