{"id":"CVE-2018-20482","aliases":["ALPINE-CVE-2018-20482","BELL-CVE-2018-20482","DEBIAN-CVE-2018-20482","DLA-1623-1","DLA-2830-1","EUVD-2018-13036","GHSA-pm5x-48pq-67cq","MGASA-2019-0034","SUSE-SU-2019:0926-1","SUSE-SU-2019:14215-1","SUSE-SU-2020:2806-1","SUSE-SU-2022:1548-1","UBUNTU-CVE-2018-20482","USN-4692-1","openSUSE-SU-2019:1237-1","openSUSE-SU-2024:11422-1"],"status":"published","title":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which...","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0053,"percentile":0.45114,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-12-26T18:00:00Z","modified":"2026-11-03T02:45:19Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"tar","fixed_in":["1.31-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"tar","fixed_in":["1.30+dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tar","fixed_in":["1.30+dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tar","fixed_in":["1.30+dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"tar","fixed_in":["1.27.1-2+deb8u2"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"tar","fixed_in":["1.29b-1.1+deb9u1"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"tar","fixed_in":["1.31-1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tar","fixed_in":["1.27.1-1ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"tar","fixed_in":["1.28-2.1ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"tar","fixed_in":["1.29b-2ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-2+deb8u2"}]}],"versions":["1.27.1-2","1.27.1-2+deb8u1"]},{"source":"osv","ecosystem":"Debian:9","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-1.1+deb9u1"}]}],"versions":["1.29b-1.1"]},{"source":"osv","ecosystem":"Mageia:6","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30-3.3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-14.8.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-14.8.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-15.6.3"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-15.6.3"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.0","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-150000.3.12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-1ubuntu0.1+esm1"}]}],"versions":["1.26+dfsg-8","1.27-3","1.27-4","1.27.1-1","1.27.1-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.28-2.1ubuntu0.2"}]}],"versions":["1.27.1-2","1.28-2ubuntu1","1.28-2.1","1.28-2.1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-2ubuntu0.2"}]}],"versions":["1.29b-2","1.29b-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-1ubuntu0.1+esm1"}]}],"versions":["1.26+dfsg-8","1.27-3","1.27-4","1.27.1-1","1.27.1-1ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.28-2.1ubuntu0.2"}]}],"versions":["1.27.1-2","1.28-2ubuntu1","1.28-2.1","1.28-2.1ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-2ubuntu0.2"}]}],"versions":["1.29b-2","1.29b-2ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-7ubuntu0.20.04.1"}]}],"versions":["1.30+dfsg-6","1.30+dfsg-7"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30-lp150.7.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"tar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34-2.2"}]}],"bundled":7}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"gnu","product":"tar"},{"vendor":"opensuse","product":"leap"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518-4 pn/dp mfp"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518f-4 pn/dp mfp"},{"vendor":"siemens","product":"siplus s7-1500 cpu 1518-4 pn/dp mfp"}],"references":[{"url":"https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://news.ycombinator.com/item?id=18745431","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"http://www.securityfocus.com/bid/106354","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.gentoo.org/glsa/201903-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://twitter.com/thatcks/status/1076166645708668928","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20482"},{"url":"https://github.com/advisories/GHSA-pm5x-48pq-67cq"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-20482","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-20482","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20482","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0034.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24117","tags":["report"]},{"url":"https://lists.gnu.org/archive/html/bug-tar/2019-01/msg00000.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190926-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1120610","tags":["report"]},{"url":"https://bugzilla.suse.com/1130496","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20482","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9923","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201914215-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1152736","tags":["report"]},{"url":"https://bugzilla.suse.com/ECO-339","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20202806-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221548-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1029961","tags":["report"]},{"url":"https://bugzilla.suse.com/1181131","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-20193","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-20482","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4692-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20482","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-9923","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/4J7MEOLQLFRA3ARNABFNLF2I4CI6U4D6/#4J7MEOLQLFRA3ARNABFNLF2I4CI6U4D6","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2001-1267","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2002-0399","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2005-1918","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-0300","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-6097","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:00:00Z","modified":"2026-10-14T06:30:41.972Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2018-13036","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:00:00Z","modified":"2026-10-14T06:30:41Z","updated_at":"2026-11-02T17:27:17.902641Z"}],"ghsa":[{"id":"GHSA-pm5x-48pq-67cq","title":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which...","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2022-05-13T01:04:46Z","modified":"2026-10-14T09:32:18Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:13:23.530725Z"}],"nvd":[{"id":"CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:29:00.373Z","modified":"2026-10-14T07:16:43.667Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:52.056758Z"}],"osv":[{"id":"ALPINE-CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:29:00.373Z","modified":"2026-10-23T17:17:55.249759009Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"BELL-CVE-2018-20482","title":"CVE-2018-20482 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:13:42.393768Z","modified":"2026-01-26T09:46:08.356883Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:29:00.373Z","modified":"2026-11-08T02:31:10.50855792Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-08T02:57:33.95847Z"},{"id":"DEBIAN-CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:29:00.373Z","modified":"2026-10-15T07:47:37.94983976Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).","status":"published","published":"2018-12-26T18:29:00Z","modified":"2026-02-04T02:49:12.179112Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"DLA-1623-1","title":"tar - security update","status":"published","published":"2018-12-31T00:00:00Z","modified":"2026-03-09T01:23:33.861892Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DLA-2830-1","title":"tar - security update","status":"published","published":"2021-11-28T00:00:00Z","modified":"2026-03-09T01:18:19.426634Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2019-0034","title":"GNU tar has been updated to fix CVE-2018-20482","description":"GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage\nduring read access, which allows local users to cause a denial of\nservice (infinite read loop in sparse_dump_region in sparse.c) by\nmodifying a file that is supposed to be archived by a different user's\nprocess (e.g., a system backup running as root).\n","status":"published","published":"2019-01-11T21:07:56Z","modified":"2026-04-16T06:25:34.733925503Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2019:1237-1","title":"Security update for tar","description":"This update for tar fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-9923: Fixed a denial of service while parsing certain archives with malformed extended headers in pax_decode_header() (bsc#1130496).\n- CVE-2018-20482: Fixed a denial of service when the '--sparse' option mishandles file shrinkage during read access (bsc#1120610).\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2019-04-18T13:03:48Z","modified":"2026-02-04T03:17:55.750116Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"openSUSE-SU-2024:11422-1","title":"tar-1.34-2.2 on GA media","description":"These are all security issues fixed in the tar-1.34-2.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:53:58.355312Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2019:0926-1","title":"Security update for tar","description":"This update for tar fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-9923: Fixed a denial of service while parsing certain archives with malformed extended headers in pax_decode_header() (bsc#1130496).\n- CVE-2018-20482: Fixed a denial of service when the '--sparse' option mishandles file shrinkage during read access (bsc#1120610).\n","status":"published","published":"2019-04-10T14:33:16Z","modified":"2026-02-04T04:01:38.189688Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2019:14215-1","title":"Security update for tar","description":"This update for tar to version 1.27.1 fixes the following issues:\n\ntar 1.27.1 brings following changes (jsc#ECO-339)\n\n* Sparse files with large data\n* No backticks in quoting\n* --owner and --group names and numbers\n* Support for POSIX ACLs, extended attributes and SELinux context.\n* Passing command line arguments to external commands.\n* New configure option --enable-gcc-warnings, intended for debugging.\n* New warning control option --warning=[no-]record-size\n* New command line option --keep-directory-symlink\n* Fix unquoting of file names obtained via the -T option.\n* Fix GNU long link header timestamp (backward compatibility).\n\nSecurity issues fixed:\n\n- CVE-2019-9923: Fixed a denial of service while parsing certain archives with malformed extended headers in pax_decode_header() (bsc#1130496).\n- CVE-2018-20482: Fixed a denial of service when the '--sparse' option mishandles file shrinkage during read access (bsc#1120610).\n","status":"published","published":"2019-11-11T12:04:50Z","modified":"2026-02-04T02:43:17.452924Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2020:2806-1","title":"Security update for tar","description":"This update for tar fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-9923: Fixed a denial of service while parsing certain archives with malformed extended headers in pax_decode_header() (bsc#1130496).\n- CVE-2018-20482: Fixed a denial of service when the '--sparse' option mishandles file shrinkage during read access (bsc#1120610).\n","status":"published","published":"2020-09-30T12:36:13Z","modified":"2026-02-04T03:43:36.060861Z","updated_at":"2026-11-02T15:53:48.11786Z"},{"id":"SUSE-SU-2022:1548-1","title":"Security update for tar","description":"This update for tar fixes the following issues:\n\n- CVE-2021-20193: Fixed a memory leak in read_header() in list.c (bsc#1181131).\n- CVE-2019-9923: Fixed a null-pointer dereference in pax_decode_header in sparse.c (bsc#1130496).\n- CVE-2018-20482: Fixed infinite read loop in sparse_dump_region in sparse.c (bsc#1120610).\n\n- Update to GNU tar 1.34:\n  * Fix extraction over pipe\n  * Fix memory leak in read_header (CVE-2021-20193) (bsc#1181131)\n  * Fix extraction when . and .. are unreadable\n  * Gracefully handle duplicate symlinks when extracting\n  * Re-initialize supplementary groups when switching to user\n    privileges\n\n- Update to GNU tar 1.33:\n  * POSIX extended format headers do not include PID by default\n  * --delay-directory-restore works for archives with reversed\n    member ordering\n  * Fix extraction of a symbolic link hardlinked to another\n    symbolic link\n  * Wildcards in exclude-vcs-ignore mode don't match slash\n  * Fix the --no-overwrite-dir option\n  * Fix handling of chained renames in incremental backups\n  * Link counting works for file names supplied with -T\n  * Accept only position-sensitive (file-selection) options in file\n    list files\n\n- prepare usrmerge (bsc#1029961)\n\n- Update to GNU 1.32\n  * Fix the use of --checkpoint without explicit --checkpoint-action\n  * Fix extraction with the -U option\n  * Fix iconv usage on BSD-based systems\n  * Fix possible NULL dereference (savannah bug #55369)\n    [bsc#1130496] [CVE-2019-9923]\n  * Improve the testsuite\n\n- Update to GNU 1.31\n  * Fix heap-buffer-overrun with --one-top-level, bug introduced\n    with the addition of that option in 1.28\n  * Support for zstd compression\n  * New option '--zstd' instructs tar to use zstd as compression\n    program. When listing, extractng and comparing, zstd compressed\n    archives are recognized automatically. When '-a' option is in\n    effect, zstd compression is selected if the destination archive\n    name ends in '.zst' or '.tzst'.\n  * The -K option interacts properly with member names given in the\n    command line. Names of members to extract can be specified along\n    with the '-K NAME' option. In this case, tar will extract NAME\n    and those of named members that appear in the archive after it,\n    which is consistent with the semantics of the option. Previous\n    versions of tar extracted NAME, those of named members that\n    appeared before it, and everything after it.\n  * Fix CVE-2018-20482 - When creating archives with the --sparse\n    option, previous versions of tar would loop endlessly if a\n    sparse file had been truncated while being archived.\n","status":"published","published":"2022-05-05T14:45:44Z","modified":"2026-02-04T02:41:47.88305Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"USN-4692-1","title":"tar vulnerabilities","description":"Chris Siebenmann discovered that tar incorrectly handled extracting files\nresized during extraction when invoked with the --sparse flag. An attacker\ncould possibly use this issue to cause a denial of service. This issue\nonly affected Ubuntu 12.04 ESM, Ubuntu 14.04 ESM, Ubuntu 16.04 LTS and\nUbuntu 18.04 LTS. (CVE-2018-20482)\n\nDaniel Axtens discovered that tar incorrectly handled certain malformed\ntar files. If a user or automated system were tricked into processing a\nspecially crafted tar archive, a remote attacker could use this issue to\ncause tar to crash, resulting in a denial of service. (CVE-2019-9923)\n","status":"published","published":"2021-01-13T18:56:53Z","modified":"2026-06-29T13:48:08.516595749Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
