Alpine Security Database
ALPINE-CVE-2025-58183
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.22 | go | All versions before 1.24.8-r0 (fixed in 1.24.8-r0) |
| Alpine:v3.23 | go | All versions before 1.25.2-r0 (fixed in 1.25.2-r0) |
| Alpine:v3.24 | go | All versions before 1.25.2-r0 (fixed in 1.25.2-r0) |