Stack-based buffer overflow in SocksCap 2.40-051231 and earlier, when "Resolve all names remotely" is enabled, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long hostname.
https://exchange.xforce.ibmcloud.com/vulnerabilities/39781
http://www.securityfocus.com/bid/27357
http://www.securityfocus.com/archive/1/486632/100/0/threaded