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.
https://security.netapp.com/advisory/ntap-20240223-0008/
https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47