DescriptionInteger 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-554-1, DSA-3657-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)stretch (security), stretch3.2.2-2+deb9u2fixed
buster, buster (security)3.3.3-4+deb10u1fixed
bullseye, sid3.4.3-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Fixed by: (v3.2.1)
Notice introduction of UMAX_ENTRY with 3d469df8eaace8297a27ce62befa295c0fdc5a3a
Libarchive 3.1.2 and lower has a much smaller "UMAX_ENTRY", which is hardcoded
in various places before 3d469df8eaace8297a27ce62befa295c0fdc5a3a and has value
1000000, making exploitation more difficult but not impossible.

Search for package or bug name: Reporting problems