# CVE-2024-57970: libarchive through 3.7.7 has a heap-based buffer over-read in headergnulonglink in archivereadsupportformattar.c via a TAR archive because…

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-02-16T00:00:00.000Z
- Modified: 2026-06-17T08:14:20.697Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- libarchive libarchive: up to 3.7.7

## References

- <https://github.com/libarchive/libarchive/issues/2415>
- <https://github.com/libarchive/libarchive/pull/2422>

## Sources

- CVE List: [CVE-2024-57970](https://www.cve.org/CVERecord?id=CVE-2024-57970), CVE Terms of Use, modified 2025-02-18
- NVD: [CVE-2024-57970](https://nvd.nist.gov/vuln/detail/CVE-2024-57970), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57970 · Whole record: https://cve.day/CVE-2024-57970.json · Rebuilt by cve.day 2026-11-25T22:58:51.749Z
