The compress_add_dlabel_points function in dns/Compress.c in MaraDNS 1.4.03, 1.4.05, and probably other versions allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a long DNS hostname with a large number of labels, which triggers a heap-based buffer overflow.
bugs.debian.org/cgi-bin/bugreport.cgi?bug=610834
osvdb.org/70630
secunia.com/advisories/43027
secunia.com/advisories/43107
www.debian.org/security/2011/dsa-2196
www.openwall.com/lists/oss-security/2011/01/24/1
www.openwall.com/lists/oss-security/2011/01/24/6
www.securityfocus.com/bid/45966
www.vupen.com/english/advisories/2011/0699
exchange.xforce.ibmcloud.com/vulnerabilities/64885