
CVE catalog
CVE-2018-20482
tar: CVE-2018-20482
- Severity
- Medium · CVSS 5.5
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tar | sid | 1.35+dfsg-7 | fixed |
| Debian | tar | forky | 1.35+dfsg-6 | fixed |
| Debian | tar | trixie | 1.35+dfsg-3.1 | fixed |
| Debian | tar | bookworm | 1.34+dfsg-1.2+deb12u1 | fixed |
| Cpe | tar | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | leap | Not reported | Not reported | unknown |
| Ubuntu | tar | pro | 1.26+dfsg-8 | vulnerable |
| Ubuntu | tar | pro | 1.27-3 | vulnerable |
| Ubuntu | tar | pro | 1.27-4 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1ubuntu0.1 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1ubuntu0.1+esm1 | fixed |
| Ubuntu | tar | 16.04 | 1.27.1-2 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2ubuntu1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1ubuntu0.1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1ubuntu0.2 | fixed |
| Ubuntu | tar | 18.04 | 1.29b-2 | vulnerable |
| Ubuntu | tar | 18.04 | 1.29b-2ubuntu0.1 | vulnerable |
| Ubuntu | tar | 18.04 | 1.29b-2ubuntu0.2 | fixed |
| Ubuntu | tar | 20.04 | 1.30+dfsg-6 | vulnerable |
| Ubuntu | tar | 20.04 | 1.30+dfsg-7 | vulnerable |
| Ubuntu | tar | 20.04 | 1.30+dfsg-7ubuntu0.20.04.1 | fixed |
| Alpine | tar | 3.10 | 1.31-r0 | fixed |
| Alpine | tar | 3.11 | 1.31-r0 | fixed |
| Alpine | tar | 3.12 | 1.31-r0 | fixed |
| Alpine | tar | 3.13 | 1.31-r0 | fixed |
| Alpine | tar | 3.14 | 1.31-r0 | fixed |
| Alpine | tar | 3.15 | 1.31-r0 | fixed |
| Alpine | tar | 3.16 | 1.31-r0 | fixed |
| Alpine | tar | 3.17 | 1.31-r0 | fixed |
| Alpine | tar | 3.18 | 1.31-r0 | fixed |
| Alpine | tar | 3.19 | 1.31-r0 | fixed |
| Alpine | tar | 3.20 | 1.31-r0 | fixed |
| Alpine | tar | 3.21 | 1.31-r0 | fixed |
| Alpine | tar | 3.22 | 1.31-r0 | fixed |
| Alpine | tar | 3.23 | 1.31-r0 | fixed |
| Alpine | tar | 3.24 | 1.31-r0 | fixed |
| Alpine | tar | 3.6 | 1.31-r0 | fixed |
| Alpine | tar | 3.7 | 1.31-r0 | fixed |
| Alpine | tar | 3.8 | 1.31-r0 | fixed |
| Alpine | tar | 3.9 | 1.31-r0 | fixed |
| Suse | tar | linux enterprise module for basesystem 15 | 1.30-3.3.2 | fixed |
| Suse | tar | linux enterprise server 12 sp5 | 1.27.1-15.6.3 | fixed |
| Suse | tar | linux enterprise server for sap applications 12 sp5 | 1.27.1-15.6.3 | fixed |
| Opensuse | tar | leap 15.0 | 1.30-lp150.7.1 | fixed |
| Ubuntu | tar | pro | 1.26+dfsg-8 | vulnerable |
| Ubuntu | tar | pro | 1.27-3 | vulnerable |
| Ubuntu | tar | pro | 1.27-4 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1ubuntu0.1 | vulnerable |
| Ubuntu | tar | pro | 1.27.1-1ubuntu0.1+esm1 | fixed |
| Ubuntu | tar | 16.04 | 1.27.1-2 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2ubuntu1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1ubuntu0.1 | vulnerable |
| Ubuntu | tar | 16.04 | 1.28-2.1ubuntu0.2 | fixed |
| Ubuntu | tar | 18.04 | 1.29b-2 | vulnerable |
| Ubuntu | tar | 18.04 | 1.29b-2ubuntu0.1 | vulnerable |
| Ubuntu | tar | 18.04 | 1.29b-2ubuntu0.2 | fixed |
| Suse | tar | linux enterprise point of sale 11 sp3 | 1.27.1-14.8.1 | fixed |
| Suse | tar | linux enterprise server 11 sp4-ltss | 1.27.1-14.8.1 | fixed |
| Suse | tar | linux enterprise module for basesystem 15 sp3 | 1.34-150000.3.12.1 | fixed |
| Suse | tar | linux enterprise real time 15 sp2 | 1.34-150000.3.12.1 | fixed |
| Suse | tar | linux enterprise micro 5.0 | 1.34-150000.3.12.1 | fixed |
| Suse | tar | linux enterprise micro 5.1 | 1.34-150000.3.12.1 | fixed |
| Suse | tar | linux enterprise micro 5.2 | 1.34-150000.3.12.1 | fixed |
| Opensuse | tar | leap 15.3 | 1.34-150000.3.12.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tar | source | sid | 1.30+dfsg-3.1 | not yet assigned | Not reported | [917377] |
| Debian | tar | source | forky | 1.30+dfsg-3.1 | not yet assigned | Not reported | [917377] |
| Debian | tar | source | trixie | 1.30+dfsg-3.1 | not yet assigned | Not reported | [917377] |
| Debian | tar | source | bookworm | 1.30+dfsg-3.1 | not yet assigned | Not reported | [917377] |
| Ubuntu | tar | deb | pro | 1.27.1-1ubuntu0.1+esm1 | Not reported | USN-4692-1 | Not reported |
| Ubuntu | tar | deb | 16.04 | 1.28-2.1ubuntu0.2 | Not reported | USN-4692-1 | Not reported |
| Ubuntu | tar | deb | 18.04 | 1.29b-2ubuntu0.2 | Not reported | USN-4692-1 | Not reported |
| Ubuntu | tar | deb | 20.04 | 1.30+dfsg-7ubuntu0.20.04.1 | Not reported | USN-4692-1 | Not reported |
| Alpine | tar | apk | 3.10 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.11 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.12 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.13 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.14 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.15 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.16 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.17 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.18 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.19 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.20 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.21 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.22 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.23 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.24 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.6 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.7 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.8 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Alpine | tar | apk | 3.9 | 1.31-r0 | Not reported | ALPINE-CVE-2018-20482 | Not reported |
| Suse | tar | rpm | linux enterprise module for basesystem 15 | 1.30-3.3.2 | Not reported | SUSE-SU-2019:0926-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 12 sp5 | 1.27.1-15.6.3 | Not reported | SUSE-SU-2020:2806-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 12 sp5 | 1.27.1-15.6.3 | Not reported | SUSE-SU-2020:2806-1 | Not reported |
| Opensuse | tar | rpm | leap 15.0 | 1.30-lp150.7.1 | Not reported | OPENSUSE-SU-2019:1237-1 | Not reported |
| Ubuntu | tar | deb | pro | 1.27.1-1ubuntu0.1+esm1 | Not reported | UBUNTU-CVE-2018-20482 | Not reported |
| Ubuntu | tar | deb | 16.04 | 1.28-2.1ubuntu0.2 | Not reported | UBUNTU-CVE-2018-20482 | Not reported |
| Ubuntu | tar | deb | 18.04 | 1.29b-2ubuntu0.2 | Not reported | UBUNTU-CVE-2018-20482 | Not reported |
| Suse | tar | rpm | linux enterprise point of sale 11 sp3 | 1.27.1-14.8.1 | Not reported | SUSE-SU-2019:14215-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 11 sp4-ltss | 1.27.1-14.8.1 | Not reported | SUSE-SU-2019:14215-1 | Not reported |
| Suse | tar | rpm | linux enterprise module for basesystem 15 sp3 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
| Suse | tar | rpm | linux enterprise real time 15 sp2 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.0 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.1 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.2 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
| Opensuse | tar | rpm | leap 15.3 | 1.34-150000.3.12.1 | Not reported | SUSE-SU-2022:1548-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [tar]Fixed
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormFixed · Fixed:
1.30+dfsg-3.1dsa · tar · debian · bookworm
1.34+dfsg-1.2+deb12u1· arm64 · bookwormFixed · Fixed:
1.30+dfsg-3.1dsa · tar · debian · bookworm
- [tar-scripts]Fixed
Source package: [tar]
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormFixed · Fixed:
1.30+dfsg-3.1dsa · tar · debian · bookworm
1.34+dfsg-1.2+deb12u1· arm64 · bookwormFixed · Fixed:
1.30+dfsg-3.1dsa · tar · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_0926-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2018-20482]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-20482]
- [https://osv.dev/vulnerability/DLA-1623-1]
- [https://osv.dev/vulnerability/DLA-2830-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:0926-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:14215-1]
- [https://osv.dev/vulnerability/SUSE-SU-2020:2806-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1548-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-20482]
- [https://osv.dev/vulnerability/USN-4692-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2019:1237-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-20482]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20482.json]
[CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]