CVE-2018-20482
Reported by mitre · Published December 26, 2018
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tar | Alpine | 1.31-r0 |
| tar | Arch Linux | 1.31-1 |
| tar | gnu | 1.30 |
| tar | Ubuntu:16.04:LTS | 1.28-2.1ubuntu0.2 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| tar | Ubuntu:18.04:LTS | 1.29b-2ubuntu0.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | tar | 0 |
| arch | tar | 0 |
| n/a | n/a | * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- Dec 26, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
- Oct 14, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20482
vulnetix vdb fixes CVE-2018-20482
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20482/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20181231 [SECURITY] [DLA 1623-1] tar security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- 106354 vdb-entryx_refsource_BID
- GLSA-201903-05 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_MISC
- openSUSE-SU-2019:1237 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20211128 [SECURITY] [DLA 2830-1] tar security update mailing-listx_refsource_MLIST
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url