res_query in libresolv in glibc before 2.25 allows remote attackers to cause a denial of service (NULL pointer dereference and process crash).
https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
https://sourceware.org/bugzilla/show_bug.cgi?id=18784
https://security.gentoo.org/glsa/201706-19
https://bugzilla.redhat.com/show_bug.cgi?id=1249603
http://www.ubuntu.com/usn/USN-3239-2