Vulnerability in Go Standard Library Archive/tar
CVE-2025-58183
tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.
EPSS: 0.004 (34.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
Affected products
- Go Standard Library Archive/tar — versions 0, 1.25.0
References
Frequently asked questions
- What is CVE-2025-58183?
- CVE-2025-58183 is a medium-severity vulnerability in Go Standard Library Archive/tar, classified under CWE-400: UNCONTROLLED RESOURCE CONSUMPTION. CVSS score: 4.3/10. Published 2025-10-29.
- How severe is CVE-2025-58183?
- Medium severity. CVSS v3 base score is 4.3 out of 10.