{"id":"CVE-2013-4397","aliases":["DEBIAN-CVE-2013-4397","DSA-2817-1","EUVD-2013-4276","GHSA-x7xr-v9wq-28m3","MGASA-2013-0309","RHSA-2013:1418","UBUNTU-CVE-2013-4397"],"status":"published","title":"Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05491,"percentile":0.92832,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-189"],"published":"2013-10-17T19:37:42Z","modified":"2026-09-01T20:01:59Z","fixes":[{"ecosystem":"Debian:12","package":"libtar","fixed_in":["1.2.20-1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"libtar","fixed_in":["1.2.11-6+deb6u1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"libtar","fixed_in":["1.2.16-1+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:2","package":"libtar","fixed_in":["1.2.11-10.1.mga2"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"libtar","fixed_in":["1.2.18-2.1.mga3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar-debuginfo","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar-devel","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar-debuginfo","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar-devel","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar-debuginfo","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar-devel","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar-debuginfo","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar-devel","fixed_in":["0:1.2.11-17.el6_4.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.20-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.11-6+deb6u1"}]}],"versions":["1.2.11-6"]},{"source":"osv","ecosystem":"Debian:7","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.16-1+deb7u1"}]}],"versions":["1.2.16-1"]},{"source":"osv","ecosystem":"Mageia:2","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.11-10.1.mga2"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.18-2.1.mga3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"libtar-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"libtar-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"libtar-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"libtar-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.11-17.el6_4.1"}]}]}],"products":[{"vendor":"feep","product":"libtar"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://lists.feep.net:8080/pipermail/libtar/2013-October/000361.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","report"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1418.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/55253","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securitytracker.com/id/1029166","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://source.android.com/security/bulletin/2018-01-01","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/10/10/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/55188","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","evidence","fix"]},{"url":"http://www.securitytracker.com/id/1040106","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.debian.org/security/2013/dsa-2817","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/62922","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/10/10/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4397","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:1418","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-4397","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1014492","tags":["report"]},{"url":"https://github.com/advisories/GHSA-x7xr-v9wq-28m3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4397","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2013-0309.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11424","tags":["report"]},{"url":"https://rhn.redhat.com/errata/RHSA-2013-1418.html","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1418.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4397","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2013-4397","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-4397","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.","status":"published","published":"2013-10-17T23:00:00Z","modified":"2024-08-06T16:45:14.871Z","updated_at":"2026-11-02T14:34:58.193873Z"}],"euvd":[{"id":"EUVD-2013-4276","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.","status":"published","published":"2013-10-17T23:00:00Z","modified":"2024-08-06T16:45:14Z","updated_at":"2026-11-03T01:56:32.187151Z"}],"ghsa":[{"id":"GHSA-x7xr-v9wq-28m3","title":"Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow...","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.","status":"published","published":"2022-05-14T01:08:28Z","modified":"2023-02-10T05:06:15Z","updated_at":"2026-11-02T14:54:01.286462Z"}],"nvd":[{"id":"CVE-2013-4397","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.","status":"published","published":"2013-10-17T23:55:04.58Z","modified":"2026-06-16T23:57:09.57Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:02:40.988689Z"}],"osv":[{"id":"CVE-2013-4397","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.","status":"published","published":"2013-10-17T23:55:04Z","modified":"2026-04-16T06:24:31.895622659Z","updated_at":"2026-11-02T15:43:59.09154Z"},{"id":"DEBIAN-CVE-2013-4397","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.","status":"published","published":"2013-10-17T23:55:04.58Z","modified":"2026-09-01T20:01:59.635425588Z","updated_at":"2026-11-02T15:45:25.514579Z"},{"id":"DSA-2817-1","title":"libtar - Multiple integer overflows","status":"published","published":"2013-12-14T00:00:00Z","modified":"2026-03-09T01:22:41.18129Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"MGASA-2013-0309","title":"Updated libtar packages fixes security vulnerability","description":"Two heap-based buffer overflow flaws were found in the way libtar handled\ncertain archives. If a user were tricked into expanding a specially-crafted\narchive, it could cause the libtar executable or an application using\nlibtar to crash or, potentially, execute arbitrary code (CVE-2013-4397).\n","status":"published","published":"2013-10-17T19:37:42Z","modified":"2026-04-16T06:25:13.506113024Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"RHSA-2013:1418","title":"Red Hat Security Advisory: libtar security update","status":"published","published":"2024-09-15T21:08:22Z","modified":"2026-06-26T10:22:23Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"UBUNTU-CVE-2013-4397","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.","status":"withdrawn","published":"2013-10-17T23:55:00Z","modified":"2025-07-16T07:17:08.837458Z","updated_at":"2026-11-02T15:54:07.421078Z"}]}}
