CVE-2018-20482

MEDIUM CVSS 3.1: 4.7 EPSS 0.53%
Updated Oct 14, 2026
Debian
Parameter Value
CVSS 4.7 (MEDIUM)
Affected Versions before 1.30
Type CWE-835
Vendor Debian
Public PoC No

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

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Gnu Tar
cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*
— <= 1.30
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Opensuse Leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
— —