
CVE catalog
CVE-2024-57970
libarchive: CVE-2024-57970
- Severity
- Medium · CVSS 4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | not affected |
| Debian | libarchive | forky | 3.8.9-1 | not affected |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | not affected |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | not affected |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | not affected |
| Alpine | libarchive | 3.18 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.19 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.20 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.21 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.22 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.23 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.24 | 3.7.9-r0 | fixed |
| Opensuse | libarchive | tumbleweed | 3.7.7-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libarchive | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | libarchive | apk | 3.18 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.19 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.20 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.21 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.22 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.23 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Alpine | libarchive | apk | 3.24 | 3.7.9-r0 | Not reported | ALPINE-CVE-2024-57970 | Not reported |
| Opensuse | libarchive | rpm | tumbleweed | 3.7.7-2.1 | Not reported | OPENSUSE-SU-2025:14844-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_14844-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-57970]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14844-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-57970]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-57970.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0381.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]