Vulnerabilities · 2022 · Vim
CVE-2022-0318
Vim vulnerability
Heap-based Buffer Overflow in vim/vim prior to 8.2.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Vim, Macos, Debian Linux. 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/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc · Patch
- huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08 · Exploit
- seclists.org/fulldisclosure/2022/Oct/28 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Oct/41 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Oct/43 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/11/msg00032.html · Third Party Advisory
- security.gentoo.org/glsa/202208-32 · Third Party Advisory
- support.apple.com/kb/HT213444 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-0318
- cve.org/CVERecord?id=CVE-2022-0318
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.