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) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).

Score
CVSS 3.1 4.7 Medium
Status
Modified - cve@mitre.org
Published
2018-12-26
Last modified
2026-10-14
Weaknesses
CWE-835

Affected products

References