libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in…
Priority LOW 18CWE-126Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0025 16th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 3 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| libarchive | libarchive | up to 3.7.7 | — | No fix listed | CNA |
- libarchive Vendorlibarchive Affected up to 3.7.7 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2025:7510 Released 2025-05-13 · Red Hat rating Moderatelibarchive security update
- Red Hat Enterprise Linux AppStream (v. 10) bsdtar-3.7.7-2.el10_0, libarchive-devel-3.7.7-2.el10_0
- Red Hat Enterprise Linux BaseOS (v. 10) libarchive-3.7.7-2.el10_0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:7510 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2025:7510 |
Not affected: 2 products
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2024-57970
- 2026-10-03 Alias added: GHSA-2q66-6w43-8rm9
References
More libarchive vulnerabilities
- TI-2024-17342 Libarchive Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
- TI-2024-24911 Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an… CVSS 3.1CRITICAL 9.1
- TI-2025-05340 Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c CVSS 3.1HIGH 7.8
- TI-2024-32437 Null Pointer Dereference vulnerability in libarchive 3.7.6 and earlier when running… CVSS 3.1HIGH 7.5
- TI-2025-37810 An issue was discovered in libarchive bsdtar before version 3.8.1 in function… CVSS 3.1MEDIUM 5.5
- TI-2025-01402 libarchive bsdunzip.c list null pointer dereference CVSS 4.0MEDIUM 4.8
Sources
- CVE-2024-57970 · CVE Program
- CVE-2024-57970 · NVD
- FIRST EPSS
- GHSA-2q66-6w43-8rm9 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-57970 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences