CVE-2024-22667: Vim · Out-of-bounds Write
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 4 Nov 2026, 17:48 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.8 |
|---|
- Affects
- Vim before 9.0.2142
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
AI-suggested
Since the vulnerability affects Vim versions before 9.0.2142, upgrading to version 9.0.2142 or later is recommended once a fix is confirmed.
Description
CVE-2024-22667 is a high-severity vulnerability in Vim before version 9.0.2142. It is a stack-based buffer overflow caused by the did_set_langmap function in map.c, which uses sprintf to write to an error buffer passed to option callback functions. This flaw can lead to memory corruption with potential impacts on confidentiality, integrity, and availability.
References
- github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 (opens in a new tab)
- gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20240223-0008/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00023.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ (opens in a new tab)