Vulnerability Report: GO-2025-4014
standard library- CVE-2025-58183, CVE-2025-58183
- Affects: archive/tar
- Published: Oct 29, 2025
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.
Affected Packages
-
PathGo VersionsSymbols
-
before go1.24.8, from go1.25.0 before go1.25.2
Aliases
References
- https://go.dev/cl/709861
- https://go.dev/issue/75677
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- https://vuln.go.dev/ID/GO-2025-4014.json
Credits
- Harshit Gupta (Mr HAX)
Feedback
See anything missing or incorrect?
Suggest an edit to this report.