cve.bz

CVE-2024-57970 libarchive libarchive: Buffer Over-read

4.0 mediumEPSS 0.3%

Medium (4.0) in libarchive libarchive. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.0 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-126 Buffer Over-read
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-57970 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-57970?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-57970?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-57970 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libarchivethrough 3.7.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:10.0bsdtar, libarchive, bsdcat-debuginfo and 6 more0:3.7.7-2.el10_0RHSA-2025:7510
openSUSETumbleweedlibarchive3.7.7-2.1openSUSE-SU-2025:14844-1
AlmaLinux10bsdtar, libarchive, libarchive-devel3.7.7-2.el10_0ALSA-2025:7510
Rocky Linux10libarchive0:3.7.7-2.el10_0RLSA-2025:7510
Alpinev3.18, v3.19, v3.20 and 4 morelibarchive3.7.9-r0ALPINE-CVE-2024-57970
Alpaquita23, streamlibarchive3.7.9-r0BELL-CVE-2024-57970

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libarchive-0:3.7.7-2.el10_0Fixed 2025-05-13RHSA-2025:7510
Red Hat Enterprise Linux 6libarchiveOut of support scope
Red Hat Enterprise Linux 7libarchiveOut of support scope
Red Hat Enterprise Linux 8libarchiveOut of support scope
Red Hat Enterprise Linux 9libarchiveNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-57970.

References

Check your stackJSON