Skip to content

CVE-2024-22667 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.

HighCVSS 7.8 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/vim(Debian:12) < 2:9.0.1378-2+deb12u1 2:9.0.1378-2+deb12u1
debian/vim(Debian:12) = 2:9.0.1378-2 No fix listed
debian/vim(Debian:13) < 2:9.0.2189-1 2:9.0.2189-1
debian/vim(Debian:14) < 2:9.0.2189-1 2:9.0.2189-1
ubuntu/vim(Ubuntu:22.04) < 2:8.2.3995-1ubuntu2.16 2:8.2.3995-1ubuntu2.16
vim < 9.0.2142 9.0.2142
fedoraproject fedora = 38 No fix listed
fedoraproject fedora = 39 No fix listed

References