CVE-2024-57970 Details
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.
A heap-based buffer over-read vulnerability has been identified in libarchive versions through 3.7.7. The issue arises in the header_gnu_longlink function within archive_read_support_format_tar.c, where the library improperly manages truncation in the middle of a GNU long linkname while processing TAR archives. This mismanagement can lead to a heap-buffer-overflow error, as demonstrated by AddressSanitizer.
Users can upgrade to libarchive version 3.7.8 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 16, 2025CISA-ADP
Assessed Feb 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libarchive/libarchive/issues/2415 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/libarchive/libarchive/pull/2422 | [email protected] | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-126 | Buffer Over-read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libarchive | >= 3.7.5, <= 3.7.7 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2025 | CVE Modified | CISA-ADP |
| Feb 18, 2025 | CVE Modified | CISA-ADP |
| Feb 16, 2025 | New CVE Received | [email protected] |
Volerion