Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
https://security.gentoo.org/glsa/201701-03
https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-fr
https://github.com/libarchive/libarchive/issues/718
https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573
https://bugzilla.redhat.com/show_bug.cgi?id=1348439
http://www.securityfocus.com/bid/91326
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html