# CVE-2018-20482

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-12-26 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2018-20482, MGASA-2019-0034, UBUNTU-CVE-2018-20482, DEBIAN-CVE-2018-20482, DLA-1623-1, DLA-2830-1
- Record: https://cvemate.com/vulnerability/CVE-2018-20482 · JSON: https://cvemate.com/vulnerability/CVE-2018-20482/json

## Description

```text
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).
```

## Signals

- CVSS: 4.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.53%, percentile 46.352%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine tar (Alpine Linux): \< 1.31-r0
- debian tar (Debian): \< 1.30+dfsg-3.1 \| \< 1.27.1-2+deb8u2 \| \< 1.29b-1.1+deb9u1
- ubuntu tar (Ubuntu): \< 1.27.1-1ubuntu0.1+esm1 \| \< 1.28-2.1ubuntu0.2 \| \< 1.29b-2ubuntu0.2
- debian debian\_linux: 8.0 \| 9.0
- gnu tar: ≤ 1.30
- mageia tar (Mageia): \< 1.31-1.mga6
- opensuse leap: 15.0

## References

- <https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug>
- <http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454>
- <https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html>
- <https://news.ycombinator.com/item?id=18745431>
- <http://www.securityfocus.com/bid/106354>
- <https://security.gentoo.org/glsa/201903-05>
- <http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html>
- <https://twitter.com/thatcks/status/1076166645708668928>
- <http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html>
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html>
- <https://security.alpinelinux.org/vuln/CVE-2018-20482>
- <https://advisories.mageia.org/MGASA-2019-0034.html>
- <https://bugs.mageia.org/show_bug.cgi?id=24117>
- <https://lists.gnu.org/archive/html/bug-tar/2019-01/msg00000.html>
- <https://ubuntu.com/security/CVE-2018-20482>
- <https://ubuntu.com/security/notices/USN-4692-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-20482>
- <https://security-tracker.debian.org/tracker/CVE-2018-20482>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

---

Data as of 2026-12-05T03:11:00.046Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
