Description
Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.
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 | — |
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 |
Advisories 2
- 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
References
- 91328 vdb-entry
- https://github.com/libarchive/libarchive/issues/715
- http://blog.talosintel.com/2016/06/the-poisoned-archives.html
- https://github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77
- http://www.talosintel.com/reports/TALOS-2016-0153/
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1348441
- GLSA-201701-03 vendor-advisory