A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. The vulnerability can be triggered by calling the function nmqsubinfodecode() in the file mqtt_parser.c. An attacker could exploit this vulnerability to cause a denial of service attack.