Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libarchive | 3.2.1-1 | — |
| Debian 13 | libarchive | 3.2.1-1 | — |
| Debian 12 | libarchive | 3.2.1-1 | — |
| Debian 8 | libarchive | 3.1.2-11+deb8u2 | DSA-3657-1 |
| Debian 7 | libarchive | 3.0.4-3+wheezy2 | DLA-554-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libarchive | 3.1.2-11ubuntu0.16.04.2 | USN-3033-1 |
| Ubuntu 14.04 LTS | libarchive | 3.1.2-7ubuntu2.3 | USN-3033-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | bsdtar +3 | 3.1.2-10.el7_2 | RHSA-2016:1844 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | libarchive | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | libarchive | 3.1.2-22.1 | SUSE-SU-2016:1909-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bsdtar | 3.2.2-2.1 | openSUSE-SU-2024:10127-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.4 | libarchive | 3.2.1-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | bsdtar +3 | 3.1.2-10.el7_2 | ELSA-2016-1844 |
Advisories 7
- RHSA-2016:1844 Red Hat Security Advisory: libarchive security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-3033-1 libarchive vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-554-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3657-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10127-1 bsdtar-3.2.2-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1909-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2016-1844 Important: libarchive security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 12, 2016
References
- RHSA-2016:1844 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- http://blog.talosintel.com/2016/06/the-poisoned-archives.html
- 91326 vdb-entry
- https://github.com/libarchive/libarchive/issues/718
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.talosintel.com/reports/TALOS-2016-0152/
- GLSA-201701-03 vendor-advisory
- https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573
- https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-fr
- DSA-3657 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1348439