{"id":"GO-2025-4014","revision":"d8469a2fa6794fdab8ef800f6ef133b5","records":[{"revision":"d8469a2fa6794fdab8ef800f6ef133b5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-4014","aliases":["BIT-golang-2025-58183","CVE-2025-58183"],"title":"Unbounded allocation when parsing GNU sparse map in archive/tar","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.","state":0,"publishedAt":"2025-10-29T21:51:04+00:00","modifiedAt":"2026-10-02T10:41:44.2214367+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.24.8"},{"kind":"introduced","version":"1.25.0"},{"kind":"fixed","version":"1.25.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/709861","https://go.dev/issue/75677","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-4014","license":"OSV · upstream source license applies","key":"osv:GO-2025-4014","identifiers":["GO-2025-4014","BIT-golang-2025-58183","CVE-2025-58183"]},"retained":false,"historicalAffected":[]}],"coverage":[]}