Live threats

All CVEs / Gnu

CVE-2018-20482Gnu Tar

Medium 4.7

Priority
28
CVSS 3.1
4.7
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Dec 26, 2018
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar.

Affected products (CPE)

VendorProductVersions
gnutar≤ 1.30
debiandebian_linux8.0
debiandebian_linux9.0
opensuseleap15.0

Official sources

References

Links published by the sources. Open them with care.