Description
An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to change the ACL of a file on the system and gain more privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libarchive | Fixed in libarchive 3.5.2 | — |
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.5.2-1 | — |
| Debian 13 | libarchive | 3.5.2-1 | — |
| Debian 12 | libarchive | 3.5.2-1 | — |
| Debian 10 | libarchive | 3.3.3-4+deb10u2 | DLA-3202-1 |
| Debian 9 | libarchive | 3.2.2-2+deb9u3 | DLA-2987-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libarchive | 3.4.0-2ubuntu1.1 | USN-5291-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libarchive | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libarchive | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libarchive | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | bsdtar +2 | 3.3.3-3.el8_5 | RHSA-2022:0892 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | bsdtar +2 | 3.3.3-3.el8_5 | ALSA-2022:0892 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libarchive | 3.3.3-3.el8_5 | RLSA-2022:0892 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libarchive | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SLES 15 SP3 | libarchive | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bsdtar | 3.7.2-1.1 | openSUSE-SU-2024:13549-1 |
| openSUSE Leap 15.4 | libarchive | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| openSUSE Leap 15.3 | libarchive | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | bsdtar +2 | 3.3.3-3.el8_5 | ELSA-2022-0892 |
Advisories 11
- ALSA-2022:0892 Moderate: libarchive security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:0892 Red Hat Security Advisory: libarchive security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5291-1 libarchive vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-3202-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2987-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:0892 Moderate: libarchive security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2022:3393-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3306-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13549-1 bsdtar-3.7.2-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2022-1130 Red Hat Enterprise Linux: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Sep 5, 2024
- ELSA-2022-0892 Moderate: libarchive security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 16, 2022
References
- https://github.com/libarchive/libarchive/issues/1565
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245
- https://access.redhat.com/security/cve/CVE-2021-23177
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update mailing-list