CVE-2013-4397
libtar: Heap-based buffer overflows by expanding a specially-crafted archive
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · October 9, 2013
Updated · November 21, 2025
Description
Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
CWE-122 · Heap-based Buffer Overflow