A heap buffer overflow occurs in finsh/msh_file.c and finsh/msh.c in RT-Thread up to and including 5.0.2.