CVE-2024-57970 json
libarchive through 3.7.7 has a heap-based buffer over-read in `header_gnu_longlink` in...
published 2025-02-16 20 mo ago modified 2026-07-23 3 mo ago also EUVD-2024-53870 , GHSA-2q66-6w43-8rm9 , JLSEC-2025-250
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia LibArchive_jll 3.7.9+0
- libarchive RHEL 10.0 3.7.7-2.el10_0
- bsdtar RHEL 10.0 3.7.7-2.el10_0
red hat advisories RHSA-2025:7510
- libarchive openSUSE Tumbleweed 3.7.7-2.1
opensuse advisories openSUSE-SU-2025:14844-1
- libarchive AlmaLinux 10 3.7.7-2.el10_0
- bsdtar AlmaLinux 10 3.7.7-2.el10_0
almalinux advisories ALSA-2025:7510
- libarchive Rocky Linux 10 3.7.7-2.el10_0
rocky linux advisories RLSA-2025:7510
- libarchive Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.7.9-r0
alpine advisories ALPINE-CVE-2024-57970
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/libarchive/libarchive#2422 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-57970 updated cvss 4.0
libarchive: heap buffer over-read in header_gnu_longlink
-
Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchive Red Hat Enterprise Linux 8 bsdtar, libarchiveaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 10) bsdtar 3.7.7-2.el10_0 Red Hat Enterprise Linux BaseOS (v. 10) libarchive 3.7.7-2.el10_0fixed: vendor fix RHSA-2025:7510
-
Red Hat Enterprise Linux 9 bsdtar, libarchive Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibArchive_jll | <3.7.9+0 |
3.7.9+0 |
Affected products
- libarchive libarchive
Classification
- Weakness
-
- CWE-126 Buffer Over-read
References
Sources
- CVE List CVE-2024-57970
- NVD CVE-2024-57970
- OSV JLSEC-2025-250
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.