CVE-2025-58183
Unbounded allocation when parsing GNU sparse map in archive/tar
4.3
MEDIUM
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2025-58183
To remediate CVE-2025-58183, upgrade the affected package to a fixed version below.
- —upgrade to 1.24.8 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.25.2-1 or later
- —upgrade to 1.24.8 or later
Is CVE-2025-58183 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.24.8, >= 1.25.0, < 1.25.2
- from 0
- from 0
- from 0
- from 0, < 1.25.2-1
- from 0, < 1.24.8, >= 1.25.0, < 1.25.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |