CVE-2024-57970
published medium CVSS 3.1 · 4.0libarchive: heap buffer over-read in header_gnu_longlink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libarchive | — | libarchive0 through 3.7.7 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | libarchive | Advisory build | 3.7.7-2.el10_0 | ALSA-2025:7510 |
| Alpine Linux | edge | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Oracle Linux | 10 | libarchiveaarch64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchiveaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtaraarch64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
Show 90 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rocky Linux | 10 | libarchiveaarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Alpine Linux | v3.18 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.19 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.20 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.21 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.22 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.23 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Alpine Linux | v3.24 | libarchive | Fixed | 3.7.9-r0 | Package fix record |
| Oracle Linux | 10 | libarchivex86_64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchiveppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchives390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchivesrc | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchivex86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| AlmaLinux | 10 | bsdtar | Advisory build | 3.7.7-2.el10_0 | ALSA-2025:7510 |
| AlmaLinux | 10 | libarchive-devel | Advisory build | 3.7.7-2.el10_0 | ALSA-2025:7510 |
| Oracle Linux | 10 | bsdtaraarch64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Oracle Linux | 10 | bsdtarx86_64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Oracle Linux | 10 | libarchive-develaarch64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Oracle Linux | 10 | libarchive-develx86_64 | Advisory build | 0:3.7.7-2.el10_0 | ELSA-2025-7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcat-debuginfoaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcat-debuginfoppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcat-debuginfos390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcat-debuginfox86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcpio-debuginfoaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcpio-debuginfoppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcpio-debuginfos390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdcpio-debuginfox86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtaraarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtarppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtars390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtarx86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtar-debuginfoaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtar-debuginfoppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtar-debuginfos390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdtar-debuginfox86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdunzip-debuginfoaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdunzip-debuginfoppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdunzip-debuginfos390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | bsdunzip-debuginfox86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debuginfoaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debuginfoppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debuginfos390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debuginfox86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debugsourceaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debugsourceppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debugsources390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-debugsourcex86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-develaarch64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-develppc64le | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-devels390x | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| Red Hat Enterprise Linux | RHEL-10 | libarchive-develx86_64 | Advisory build | 3.7.7-2.el10_0 | RHSA-2025:7510 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarppc64le | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtars390x | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarx86_64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develaarch64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develppc64le | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-devels390x | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develx86_64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13aarch64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13ppc64le | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13s390x | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13x86_64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitaarch64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitppc64le | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bits390x | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitx86_64 | Advisory build | 3.7.7-2.1 | OPENSUSE-SU-2025:14844-1 |
| Rocky Linux | 10 | libarchiveppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchives390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchivesrc | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchivex86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtaraarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtarppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtars390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtarx86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtar-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtar-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtar-debuginfos390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | bsdtar-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debuginfos390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debugsources390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-develaarch64 | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-develppc64le | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-devels390x | Listed in advisory | Not stated | RLSA-2025:7510 |
| Rocky Linux | 10 | libarchive-develx86_64 | Listed in advisory | Not stated | RLSA-2025:7510 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libarchive | libarchive | 0 through 3.7.7 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-126 CWE-126 Buffer Over-read
References
2Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4c17a3e73f260dd919927dc47bfdafb29451924ea81dde0b1d6fb0af411e1f97
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record