Findings

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…

Published Dec 26, 2018 · updated Oct 14, 2026 · gnu tar

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

Timeline

Detection, updates, and resolution for this record.

  1. Dec 26, 2018 · NIST NVD

    Detected

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

  2. Oct 14, 2026 · NIST NVD

    Updated

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

Affected

  • cpe debian/debian linux8.0
  • cpe debian/debian linux9.0
  • cpe gnu/tarversion unspecified
  • cpe opensuse/leap15.0

Sources

  • NIST NVDCVE-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) by modifying a file that is supposed to be archived by a different user's proces

    nvd.nist.gov

References

CVE-2018-20482 · ZeroDay Findings