The issue is caused by a stack-based buffer overflow in the ` dns encode domain` function in the dns.c file, allowing an out-of-bounds write via a crafted DNS request. This can be exploited by sending a specifically crafted DNS request to the affected system.