CVE catalog

CVE-2018-20482

tar: CVE-2018-20482

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiantarsid1.35+dfsg-7fixed
Debiantarforky1.35+dfsg-6fixed
Debiantartrixie1.35+dfsg-3.1fixed
Debiantarbookworm1.34+dfsg-1.2+deb12u1fixed
CpetarNot reportedNot reportedunknown
Cpedebian_linuxNot reportedNot reportedunknown
CpeleapNot reportedNot reportedunknown
Ubuntutarpro1.26+dfsg-8vulnerable
Ubuntutarpro1.27-3vulnerable
Ubuntutarpro1.27-4vulnerable
Ubuntutarpro1.27.1-1vulnerable
Ubuntutarpro1.27.1-1ubuntu0.1vulnerable
Ubuntutarpro1.27.1-1ubuntu0.1+esm1fixed
Ubuntutar16.041.27.1-2vulnerable
Ubuntutar16.041.28-2ubuntu1vulnerable
Ubuntutar16.041.28-2.1vulnerable
Ubuntutar16.041.28-2.1ubuntu0.1vulnerable
Ubuntutar16.041.28-2.1ubuntu0.2fixed
Ubuntutar18.041.29b-2vulnerable
Ubuntutar18.041.29b-2ubuntu0.1vulnerable
Ubuntutar18.041.29b-2ubuntu0.2fixed
Ubuntutar20.041.30+dfsg-6vulnerable
Ubuntutar20.041.30+dfsg-7vulnerable
Ubuntutar20.041.30+dfsg-7ubuntu0.20.04.1fixed
Alpinetar3.101.31-r0fixed
Alpinetar3.111.31-r0fixed
Alpinetar3.121.31-r0fixed
Alpinetar3.131.31-r0fixed
Alpinetar3.141.31-r0fixed
Alpinetar3.151.31-r0fixed
Alpinetar3.161.31-r0fixed
Alpinetar3.171.31-r0fixed
Alpinetar3.181.31-r0fixed
Alpinetar3.191.31-r0fixed
Alpinetar3.201.31-r0fixed
Alpinetar3.211.31-r0fixed
Alpinetar3.221.31-r0fixed
Alpinetar3.231.31-r0fixed
Alpinetar3.241.31-r0fixed
Alpinetar3.61.31-r0fixed
Alpinetar3.71.31-r0fixed
Alpinetar3.81.31-r0fixed
Alpinetar3.91.31-r0fixed
Susetarlinux enterprise module for basesystem 151.30-3.3.2fixed
Susetarlinux enterprise server 12 sp51.27.1-15.6.3fixed
Susetarlinux enterprise server for sap applications 12 sp51.27.1-15.6.3fixed
Opensusetarleap 15.01.30-lp150.7.1fixed
Ubuntutarpro1.26+dfsg-8vulnerable
Ubuntutarpro1.27-3vulnerable
Ubuntutarpro1.27-4vulnerable
Ubuntutarpro1.27.1-1vulnerable
Ubuntutarpro1.27.1-1ubuntu0.1vulnerable
Ubuntutarpro1.27.1-1ubuntu0.1+esm1fixed
Ubuntutar16.041.27.1-2vulnerable
Ubuntutar16.041.28-2ubuntu1vulnerable
Ubuntutar16.041.28-2.1vulnerable
Ubuntutar16.041.28-2.1ubuntu0.1vulnerable
Ubuntutar16.041.28-2.1ubuntu0.2fixed
Ubuntutar18.041.29b-2vulnerable
Ubuntutar18.041.29b-2ubuntu0.1vulnerable
Ubuntutar18.041.29b-2ubuntu0.2fixed
Susetarlinux enterprise point of sale 11 sp31.27.1-14.8.1fixed
Susetarlinux enterprise server 11 sp4-ltss1.27.1-14.8.1fixed
Susetarlinux enterprise module for basesystem 15 sp31.34-150000.3.12.1fixed
Susetarlinux enterprise real time 15 sp21.34-150000.3.12.1fixed
Susetarlinux enterprise micro 5.01.34-150000.3.12.1fixed
Susetarlinux enterprise micro 5.11.34-150000.3.12.1fixed
Susetarlinux enterprise micro 5.21.34-150000.3.12.1fixed
Opensusetarleap 15.31.34-150000.3.12.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantarsourcesid1.30+dfsg-3.1not yet assignedNot reported[917377]
Debiantarsourceforky1.30+dfsg-3.1not yet assignedNot reported[917377]
Debiantarsourcetrixie1.30+dfsg-3.1not yet assignedNot reported[917377]
Debiantarsourcebookworm1.30+dfsg-3.1not yet assignedNot reported[917377]
Ubuntutardebpro1.27.1-1ubuntu0.1+esm1Not reportedUSN-4692-1Not reported
Ubuntutardeb16.041.28-2.1ubuntu0.2Not reportedUSN-4692-1Not reported
Ubuntutardeb18.041.29b-2ubuntu0.2Not reportedUSN-4692-1Not reported
Ubuntutardeb20.041.30+dfsg-7ubuntu0.20.04.1Not reportedUSN-4692-1Not reported
Alpinetarapk3.101.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.111.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.121.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.131.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.141.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.151.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.161.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.171.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.181.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.191.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.201.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.211.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.221.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.231.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.241.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.61.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.71.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.81.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Alpinetarapk3.91.31-r0Not reportedALPINE-CVE-2018-20482Not reported
Susetarrpmlinux enterprise module for basesystem 151.30-3.3.2Not reportedSUSE-SU-2019:0926-1Not reported
Susetarrpmlinux enterprise server 12 sp51.27.1-15.6.3Not reportedSUSE-SU-2020:2806-1Not reported
Susetarrpmlinux enterprise server for sap applications 12 sp51.27.1-15.6.3Not reportedSUSE-SU-2020:2806-1Not reported
Opensusetarrpmleap 15.01.30-lp150.7.1Not reportedOPENSUSE-SU-2019:1237-1Not reported
Ubuntutardebpro1.27.1-1ubuntu0.1+esm1Not reportedUBUNTU-CVE-2018-20482Not reported
Ubuntutardeb16.041.28-2.1ubuntu0.2Not reportedUBUNTU-CVE-2018-20482Not reported
Ubuntutardeb18.041.29b-2ubuntu0.2Not reportedUBUNTU-CVE-2018-20482Not reported
Susetarrpmlinux enterprise point of sale 11 sp31.27.1-14.8.1Not reportedSUSE-SU-2019:14215-1Not reported
Susetarrpmlinux enterprise server 11 sp4-ltss1.27.1-14.8.1Not reportedSUSE-SU-2019:14215-1Not reported
Susetarrpmlinux enterprise module for basesystem 15 sp31.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported
Susetarrpmlinux enterprise real time 15 sp21.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported
Susetarrpmlinux enterprise micro 5.01.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported
Susetarrpmlinux enterprise micro 5.11.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported
Susetarrpmlinux enterprise micro 5.21.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported
Opensusetarrpmleap 15.31.34-150000.3.12.1Not reportedSUSE-SU-2022:1548-1Not reported

[Debian bug #917377]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [tar]Fixed
    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.30+dfsg-3.1

      dsa · tar · debian · bookworm

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.30+dfsg-3.1

      dsa · tar · debian · bookworm

  • Source package: [tar]

    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.30+dfsg-3.1

      dsa · tar · debian · bookworm

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.30+dfsg-3.1

      dsa · tar · debian · bookworm

Observed:

References