Multiple heap-based buffer overflows in the parse_notify function in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 4.1.0 allow remote pool servers to have unspecified impact via a (1) large or (2) negative value in the Extranonc2_size parameter in a mining.subscribe response and a crafted mining.notify request.
seclists.org/fulldisclosure/2014/Jul/119
www.securityfocus.com/bid/68831
github.com/ckolivas/cgminer/commit/e1c5050734123973b99d181c45e74b2cbb00272e
github.com/luke-jr/bfgminer/commit/ff7f30129f15f7a2213f8ced0cd65c9a331493d9
github.com/sgminer-dev/sgminer/commit/bac5831b355f916e0696b7bbcccfc51c057b729a
github.com/sgminer-dev/sgminer/issues/258