{"id":"CVE-2025-58183","published":"2025-10-29T22:10:14Z","modified":"2025-11-04T21:13:32Z","title":"Unbounded allocation when parsing GNU sparse map in archive/tar","vendor":"Go standard library","product":"archive/tar","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00443,"percentile":0.39374,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/709861","tags":[]},{"url":"https://go.dev/issue/75677","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4014","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1","tags":[]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.87},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"archive/tar","versions":["< 1.24.8",">= 1.25.0, < 1.25.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-30T14:22:41.219110Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.24.8",">=1.25.0, <1.25.2"],"patched":["1.24.8","1.25.2"],"from":["GO-2025-4014"],"provenance":"source"}],"summary":{"text":"The archive/tar package in the Go standard library fails to bound the number of sparse region data blocks when parsing GNU tar pax 1.0 sparse files, so tar.Reader can read an unbounded amount of data into memory. An attacker who can get a crafted tar archive processed by an application using this reader, typically with a user interaction such as opening or extracting the file and no authentication required, can cause excessive memory allocation, and a small compressed input may expand into a large allocation when read from a compressed source.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:09Z"},"euvd":{"id":"EUVD-2025-36731","exploited":false,"provenance":"source"}}