Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows remote attackers to execute arbitrary code via a crafted HFS+ image.
http://www.securitytracker.com/id/1035876
http://www.securityfocus.com/bid/90531
http://www.oracle.com/technetwork/topics/security/bulletinoct2016-3090566.html