In mupen64plus v2.6.0 there is an array overflow vulnerability in the write_rdram_regs and write_rdram_regs functions, which enables executing arbitrary commands on the host machine.
https://github.com/mupen64plus/mupen64plus-core/blob/master/src/device/rdram/rdram.h#L60
https://github.com/mupen64plus/mupen64plus-core/blob/master/src/device/rdram/rdram.h#L50
https://github.com/mupen64plus/mupen64plus-core/blob/2.6.0/src/device/rdram/rdram.c#L159
https://github.com/Giles-one/mupen64plusEscape/tree/main/BUG1
https://gist.github.com/Giles-one/f4ea405c2a26000bb4ff4cfb9622be49