{"id":"CVE-2025-58183","revision":"b20e6cd09a1a4b08a9e2a84757b88b9b","records":[{"revision":"b20e6cd09a1a4b08a9e2a84757b88b9b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-58183","aliases":[],"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-29T22:10:14.376+00:00","modifiedAt":"2025-11-04T21:13:32.834+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"archive/tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"archive/tar\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"archive/tar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.24.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.25.0\",\n                            \"lessThan\": \"1.25.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"readGNUSparseMap1x0\"\n                        },\n                        {\n                            \"name\": \"Reader.Next\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/cl/709861","https://go.dev/issue/75677","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","https://pkg.go.dev/vuln/GO-2025-4014"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-58183","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-58183","identifiers":["CVE-2025-58183"]},"retained":false,"historicalAffected":[]}],"coverage":[]}