libarchive up to 3.7.7 TAR Archive archive_read_support_format_tar.c header_gnu_longlink buffer over-read
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in libarchive up to 3.7.7. The impacted element is the function header_gnu_longlink of the file archive_read_support_format_tar.c of the component TAR Archive Handler. The manipulation leads to buffer over-read.
This vulnerability is listed as CVE-2024-57970. The attack may be initiated remotely. There is no available exploit.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability was found in libarchive up to 3.7.7. It has been rated as problematic. This issue affects the function header_gnu_longlink of the file archive_read_support_format_tar.c of the component TAR Archive Handler. The manipulation with an unknown input leads to a buffer over-read vulnerability. Using CWE to declare the problem leads to CWE-126. The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. Impacted is availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2024-57970 since 02/16/2025. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 237836 (RHEL 10 : libarchive (RHSA-2025:7510)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (237836) and EUVD (EUVD-2024-53870). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.2VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 4.0
CNA Vector (MITRE): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer over-readCWE: CWE-126 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 237836
Nessus Name: RHEL 10 : libarchive (RHSA-2025:7510)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
02/16/2025 🔍02/16/2025 🔍
02/16/2025 🔍
06/30/2025 🔍
Sources
Product: github.comAdvisory: 2415
Status: Confirmed
CVE: CVE-2024-57970 (🔍)
GCVE (CVE): GCVE-0-2024-57970
GCVE (VulDB): GCVE-100-295973
EUVD: 🔍
Entry
Created: 02/16/2025 10:01Updated: 06/30/2025 07:47
Changes: 02/16/2025 10:01 (66), 06/06/2025 04:31 (2), 06/30/2025 07:47 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.