CVE-2013-4397
Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2013-4397- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-4397- Updated
- 2026-11-02
EUVDEUVD-2013-4276 No score
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.
- Record
EUVD-2013-4276- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x7xr-v9wq-28m3 No score
Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow...
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.
- Record
GHSA-x7xr-v9wq-28m3- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2013-4397- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-4397 No score
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.
- Record
DEBIAN-CVE-2013-4397- Updated
- 2026-11-02
OSVMGASA-2013-0309 No score
Updated libtar packages fixes security vulnerability
Two heap-based buffer overflow flaws were found in the way libtar handled certain archives. If a user were tricked into expanding a specially-crafted archive, it could cause the libtar executable or an application using libtar to crash or, potentially, execute arbitrary code (CVE-2013-4397).
- Record
MGASA-2013-0309- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-4397 No score
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.
- Record
UBUNTU-CVE-2013-4397- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtarDebian:12 |
before 1.2.20-1 | 1.2.20-1 |
libtarDebian:6.0 |
before 1.2.11-6+deb6u1, plus listed versions 1.2.11-6 |
1.2.11-6+deb6u1 |
libtarDebian:7 |
before 1.2.16-1+deb7u1, plus listed versions 1.2.16-1 |
1.2.16-1+deb7u1 |
libtarMageia:2 |
before 1.2.11-10.1.mga2 | 1.2.11-10.1.mga2 |
libtarMageia:3 |
before 1.2.18-2.1.mga3 | 1.2.18-2.1.mga3 |
libtarRed Hat:enterprise_linux:6::client |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-debuginfoRed Hat:enterprise_linux:6::client |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-develRed Hat:enterprise_linux:6::client |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtarRed Hat:enterprise_linux:6::computenode |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtar-develRed Hat:enterprise_linux:6::computenode |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtarRed Hat:enterprise_linux:6::server |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-debuginfoRed Hat:enterprise_linux:6::server |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-develRed Hat:enterprise_linux:6::server |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtarRed Hat:enterprise_linux:6::workstation |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
libtar-develRed Hat:enterprise_linux:6::workstation |
before 0:1.2.11-17.el6_4.1 | 0:1.2.11-17.el6_4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4397 is a medium vulnerability (CVSS 6.8) in Feep Libtar, published October 17, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.49%, the 92nd percentile. Fixed in libtar 1.2.20-1.
References
lists.feep.net/pipermail/libtar/2013-October/000361.html
rhn.redhat.com/errata/RHSA-2013-1418.html
secunia.com/advisories/55253
securitytracker.com/id/1029166
source.android.com/security/bulletin/2018-01-01
openwall.com/lists/oss-security/2013/10/10/6
Show 18 moreShow less
secunia.com/advisories/55188
repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04
securitytracker.com/id/1040106
debian.org/security/2013/dsa-2817
securityfocus.com/bid/62922
openwall.com/lists/oss-security/2013/10/10/4
nvd.nist.gov/vuln/detail/CVE-2013-4397
access.redhat.com/errata/RHSA-2013:1418
access.redhat.com/security/cve/CVE-2013-4397
bugzilla.redhat.com/show_bug.cgi?id=1014492
github.com/advisories/GHSA-x7xr-v9wq-28m3
security-tracker.debian.org/tracker/CVE-2013-4397
advisories.mageia.org/MGASA-2013-0309.html
bugs.mageia.org/show_bug.cgi?id=11424
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1418.json
cve.org/CVERecord?id=CVE-2013-4397
ubuntu.com/security/CVE-2013-4397