Description
libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the middle of a GNU long linkname.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libarchive | libarchive | ≤ 3.7.7 | — |
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | bsdtar +2 | 3.7.7-2.el10_0 | RHSA-2025:7510 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | bsdtar +2 | 3.7.7-2.el10_0 | ALSA-2025:7510 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | libarchive | 3.7.7-2.el10_0 | RLSA-2025:7510 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libarchive | 3.7.7-2.1 | openSUSE-SU-2025:14844-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libarchive | 3.7.9-r0 | — |
| Alpine v3.23 | libarchive | 3.7.9-r0 | — |
| Alpine v3.22 | libarchive | 3.7.9-r0 | — |
| Alpine v3.21 | libarchive | 3.7.9-r0 | — |
| Alpine v3.20 | libarchive | 3.7.9-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libarchive | 3.7.9-r0 | — |
| Alpine v3.18 | libarchive | 3.7.9-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | bsdtar +2 | 3.7.7-2.el10_0 | ELSA-2025-7510 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | libarchive-dev | 3.7.7-r2 | — |
Advisories 6
- ALSA-2025:7510 Moderate: libarchive security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:7510 Red Hat Security Advisory: libarchive security update Red Hat Security Advisories (RHSA) · Aug 22, 2026
- openSUSE-SU-2025:14844-1 bsdtar-3.7.7-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:7510 Moderate: libarchive security update Rocky Linux Security Advisories · Oct 8, 2025
- WID-SEC-2025-0381 libarchive: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 5, 2025
- ELSA-2025-7510 Moderate: libarchive security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 27, 2025