Vulnerabilities · 2024 · Vim
CVE-2024-22667
Vim vulnerability
Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.
Affected products
Vim, Fedora. 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/b39b240c386a5a29241415541f1c99e2e6b8ce47 · Patch
- gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604f · Exploit
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U · Third Party Advisory
- security.netapp.com/advisory/ntap-20240223-0008/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- lists.fedoraproject.org/archives/list/[email protected]/message/UI4
- lists.fedoraproject.org/archives/list/[email protected]/message/UIQ
- nvd.nist.gov/vuln/detail/CVE-2024-22667
- cve.org/CVERecord?id=CVE-2024-22667
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.