CVE-2024-57970

libarchive: heap buffer over-read in header_gnu_longlink

Published Feb 16, 2025 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-53870 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 9e-05}

epss

{'score': 0.0001}

Type Values Removed Values Added
Metrics epss

{'score': 0.00011}

epss

{'score': 9e-05}

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/o:redhat:enterprise_linux:10.0
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title libarchive: heap buffer over-read in header_gnu_longlink
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
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.
Weaknesses CWE-126
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 18, 2025, 5:05 PM
Reserved
Feb 16, 2025, 12:00 AM
Status
Deferred
Published
Feb 16, 2025, 4:15 AM
Modified
Jun 17, 2026, 8:14 AM
Severity
Moderate
Public date
Feb 16, 2025, 12:00 AM