CVE-2025-58183

medium

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.

References

https://pkg.go.dev/vuln/GO-2025-4014

https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI

https://go.dev/issue/75677

https://go.dev/cl/709861

http://www.openwall.com/lists/oss-security/2025/10/08/1

Details

Source: Mitre, NVD

Published: 2025-10-29

Updated: 2025-11-04

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

Severity: Low

CVSS v3

Base Score: 4.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Medium

EPSS

EPSS: 0.00007