VDB
CVE-2018-20482
CVE-2018-20482
PUBLISHED
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).
EPSS 0.02% · 5.8th percentile
Risk Scores
EPSS Score
0.02%
5.8th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | tar | 1.28-2ubuntu1, 1.28-2.1ubuntu0.1, 1.28-2.1 |
| Ubuntu:18.04:LTS | tar | 0, 1.29b-2, 1.29b-2ubuntu0.1 |
| Ubuntu:Pro:14.04:LTS | tar | 1.26+dfsg-8, 1.27-3, 1.27-4 |
Exploit Intelligence
- https://news.ycombinator.com/item?id=18745431 (nist-nvd)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- TestCommand.yaml (github-poc)
- TestCommand.yaml (github-poc)
- TestCommand.yaml (github-poc)
…and 3 more exploits
Timeline
- Dec 26, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-20482 third-party-advisory
- https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug third-party-advisory
- https://news.ycombinator.com/item?id=18745431 third-party-advisory
- https://twitter.com/thatcks/status/1076166645708668928 third-party-advisory
- http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html third-party-advisory
- https://ubuntu.com/security/notices/USN-4692-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-20482 third-party-advisory