Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 9.0.2142 |
| Fedoraproject | Fedora | 38 |
Related Weaknesses (CWE)
References
- https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/ExploitThird Party Advisory
- https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47Patch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproThird Party Advisory
- https://security.netapp.com/advisory/ntap-20240223-0008/Third Party Advisory
- https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/ExploitThird Party Advisory
- https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47Patch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproThird Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://security.netapp.com/advisory/ntap-20240223-0008/Third Party Advisory
FAQ
What is CVE-2024-22667?
CVE-2024-22667 is a vulnerability with a CVSS score of 7.8 (HIGH). 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.
How severe is CVE-2024-22667?
CVE-2024-22667 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-22667?
Check the references section above for vendor advisories and patch information. Affected products include: Vim Vim, Fedoraproject Fedora.