# CVE-2024-57970

- Priority: **Routine**
- Reason: Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-16 · Modified: 2025-02-18
- Aliases: ALPINE-CVE-2024-57970, RHSA-2025:7510, CGA-g6pw-fm48-8mxw, CGA-p4m4-v9fg-wxwr, openSUSE-SU-2025:14844-1
- Record: https://cvemate.com/vulnerability/CVE-2024-57970 · JSON: https://cvemate.com/vulnerability/CVE-2024-57970/json

## Description

```text
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.
```

## Signals

- CVSS: 4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.251%, percentile 17.584%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libarchive (Alpine Linux): \< 3.7.9-r0
- chainguard libarchive-dev (Chainguard): \< 3.7.7-r2
- wolfi libarchive-dev (Wolfi): \< 3.7.7-r2
- libarchive libarchive: ≤ 3.7.7
- opensuse libarchive&distro=openSUSE Tumbleweed (openSUSE): \< 3.7.7-2.1
- redhat bsdcat-debuginfo (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat bsdcpio-debuginfo (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat bsdtar (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat bsdtar-debuginfo (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat bsdunzip-debuginfo (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat libarchive (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat libarchive-debuginfo (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat libarchive-debugsource (Red Hat): \< 0:3.7.7-2.el10\_0
- redhat libarchive-devel (Red Hat): \< 0:3.7.7-2.el10\_0

## References

- <https://github.com/libarchive/libarchive/issues/2415>
- <https://github.com/libarchive/libarchive/pull/2422>
- <https://security.alpinelinux.org/vuln/CVE-2024-57970>
- <https://access.redhat.com/errata/RHSA-2025:7510>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2345954>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7510.json>
- <https://access.redhat.com/security/cve/CVE-2024-57970>
- <https://www.cve.org/CVERecord?id=CVE-2024-57970>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-57970>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57970.json>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RH5NHSWEEGIGORCHOWYXBR3HCGWHTZPR/>
- <https://www.suse.com/security/cve/CVE-2024-57970>

---

Data as of 2026-12-05T10:10:46.922Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
