KiTTY versions 0.76.1.13 and before is vulnerable to a stack-based buffer overflow via the hostname, occurs due to insufficient bounds checking and input sanitization. This allows an attacker to overwrite adjacent memory, which leads to arbitrary code execution.
https://blog.defcesco.io/CVE-2024-25003-CVE-2024-25004
http://seclists.org/fulldisclosure/2024/Feb/14
http://seclists.org/fulldisclosure/2024/Feb/13
http://packetstormsecurity.com/files/177032/KiTTY-0.76.1.13-Buffer-Overflows.html
http://packetstormsecurity.com/files/177031/KiTTY-0.76.1.13-Command-Injection.html