Vulnerabilities

CVE-2024-57970

Medium 4.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-02-16
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored by
cve@mitre.org
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
libarchive libarchive ≥ 0, ≤ 3.7.7 Affected

Weakness type

  • CWE-126: Buffer Over-read

    The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities