Vulnerabilities · 2022 · Vim
CVE-2022-0158
Vim vulnerability
vim is vulnerable to Heap-based Buffer Overflow
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/5f25c3855071bd7e26255c68bf458b1b5cf92f39 · Patch
- huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738b · Exploit
- seclists.org/fulldisclosure/2022/Jul/13 · Third Party Advisory
- seclists.org/fulldisclosure/2022/Mar/29 · Third Party Advisory
- www.openwall.com/lists/oss-security/2022/01/15/1 · Third Party Advisory
- security.gentoo.org/glsa/202208-32 · Third Party Advisory
- support.apple.com/kb/HT213183 · Third Party Advisory
- support.apple.com/kb/HT213344 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-0158
- cve.org/CVERecord?id=CVE-2022-0158
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.