A buffer overflow occurs in utilities/ymodem/ry_sy.c in RT-Thread through 5.0.2 because of an incorrect sprintf call or a missing '\0' character.
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')