Heap-Based Buffer Over-Read in Libarchive's TAR Archive Handling
CVE-2024-57970

4MEDIUM

Key Information:

Vendor

Libarchive

Vendor
CVE Published:
16 February 2025

What is CVE-2024-57970?

A vulnerability exists in Libarchive versions up to 3.7.7 that leads to a heap-based buffer over-read when processing TAR archives. This issue arises from improper handling of truncation during the reading of a GNU long linkname. The flaw can be exploited in scenarios where malformed TAR archives are processed, potentially allowing attackers to access sensitive information or disrupt the application.

Affected Version(s)

libarchive 0 <= 3.7.7

References

CVSS V3.1

Score:
4
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.