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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://rhn.redhat.com/errata/RHSA-2016-1844.html | third party advisory vendor advisory |
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html | |
http://blog.talosintel.com/2016/06/the-poisoned-archives.html | third party advisory exploit |
http://www.securityfocus.com/bid/91326 | vdb entry third party advisory |
https://github.com/libarchive/libarchive/issues/718 | issue tracking third party advisory patch |
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html | |
http://www.talosintel.com/reports/TALOS-2016-0152/ | third party advisory exploit |
https://security.gentoo.org/glsa/201701-03 | vendor advisory |
https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573 | issue tracking third party advisory patch |
https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-fr | |
http://www.debian.org/security/2016/dsa-3657 | vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1348439 | issue tracking |