A malicious user could point htsearch to a file like /dev/zero and let the server run in an endless loop, trying to read config parameters. If the user has write permission on the server they can point the program to it and retrieve any file readable by the webserver user id.
This problem has been fixed in version 3.1.5-2.0potato.1 for Debian GNU/Linux 2.2.
We recommend that you upgrade your htdig package immediately.
MD5 checksums of the listed files are available in the original advisory.