{"schema_version":"1.7.3","id":"BIT-golang-2025-58183","published":"2025-11-06T12:58:07.546Z","modified":"2025-11-06T13:59:32.087427Z","aliases":["CVE-2025-58183","GO-2025-4014"],"summary":"Unbounded allocation when parsing GNU sparse map in archive/tar","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.24.8"},{"introduced":"1.25.0"},{"fixed":"1.25.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2025-58183.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/10/08/1"},{"type":"WEB","url":"https://go.dev/cl/709861"},{"type":"WEB","url":"https://go.dev/issue/75677"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58183"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-4014"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"Medium"}}