CVE-2024-22667Out-of-bounds Write in VIM

Severity
7.8HIGHNVD
EPSS
0.2%
top 62.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 5
Latest updateMar 18

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 vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

NVDvim/vim< 9.0.2142
Debianvim/vim< 2:8.2.2434-3+deb11u2+3

Also affects: Fedora 38, 39

Patches

🔴Vulnerability Details

3
CVEList
CVE-2024-22667: Vim before 92024-02-05
OSV
CVE-2024-22667: Vim before 92024-02-05
GHSA
GHSA-jhwv-44fv-jwp5: Vim before 92024-02-05

📋Vendor Advisories

4
Ubuntu
Vim vulnerability2024-03-18
Microsoft
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.2024-02-13
Red Hat
vim: Stack buffer over flow in did_set_langmap function in map.c2024-02-05
Debian
CVE-2024-22667: vim - Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in...2024
CVE-2024-22667 — Out-of-bounds Write in VIM | cvebase