The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.
https://exchange.xforce.ibmcloud.com/vulnerabilities/49003
http://www.securityfocus.com/archive/1/501479/100/0/threaded
http://www.securityfocus.com/archive/1/501340/100/0/threaded
http://www.securityfocus.com/archive/1/501294/100/0/threaded
http://www.debian.org/security/2009/dsa-1831
http://securityandthe.net/2009/03/05/security-issue-in-djbdns-confirmed/
http://secunia.com/advisories/35820
http://marc.info/?l=djbdns&m=123613000920446&w=2