Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.
https://security.gentoo.org/glsa/202305-16
https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html
https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5