Integer overflow in the readSubStreamsInfo function in archivereadsupportformat_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.