CVE 3.3 LOW

Unbounded allocation when parsing GNU sparse map in archive/tar_CVE-2025-58183

3.3 / 10
LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Description

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.

Basic Information

ID CVE-2025-58183
Source Go
Published Oct 29, 2025 at 22:10
Modified Oct 30, 2025 at 14:23

Affected Product

Vendor Go standard library
Product archive/tar
Affected Versions Go standard library archive/tar 0
Go standard library archive/tar 1.25.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.