CVE-2018-20482
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)
02 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)
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.53% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 44.5% of scored records. A rank, not a probability.
- NVD base score
- 4.7 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-12-26 18:00Z7 YR AGO
- Last updated
- 2026-10-14 06:30Z15 DAYS AGO
- Reserved
- 2018-12-26
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.2
- Document digest
- 523418da660855ac4b665edc4eb4819d72b91a0a73afff9cccbf54c32a7e1662
05 Affected products
06 References
- utcc.utoronto.cahttps://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
- git.savannah.gnu.orghttp://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454
- lists.debian.org[debian-lts-announce] 20181231 [SECURITY] [DLA 1623-1] tar security updatehttps://lists.debian.org/debian-lts-announce/2018/12/msg00023.html
- news.ycombinator.comhttps://news.ycombinator.com/item?id=18745431
- www.securityfocus.com106354http://www.securityfocus.com/bid/106354
- security.gentoo.orgGLSA-201903-05https://security.gentoo.org/glsa/201903-05
- lists.gnu.orghttp://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html
- twitter.comhttps://twitter.com/thatcks/status/1076166645708668928
- lists.opensuse.orgopenSUSE-SU-2019:1237http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html
- lists.debian.org[debian-lts-announce] 20211128 [SECURITY] [DLA 2830-1] tar security updatehttps://lists.debian.org/debian-lts-announce/2021/11/msg00025.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
Arch Linux
- tar Fixed in 1.31-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- tar Fixed in 1.30+dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- tar Fixed in 1.30+dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- tar Fixed in 1.30+dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- tar Fixed in 1.28-2.1ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- tar Fixed in 1.29b-2ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- tar Fixed in 1.27.1-1ubuntu0.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.