CVE-2025-58183: Unbounded allocation when parsing GNU sparse map in archive/tar
Vulnerability summary
CVE-2025-58183 is a medium (CVSS 4.3) vulnerability in go standard library archive/tar. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 38.5% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 55 · Related 118Showing 100 of 119.
Timeline
- 29-10-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.44% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard199 products
- age< 1.2.1-r8
- age-fips< 1.2.1-r8
- amass< 5.0.1-r1
- amazon-k8s-cni-fips< 1.20.4-r2
- amazon-k8s-cni-init-fips< 1.20.4-r2
Alpine1 product
- go< 1.24.8-r0 | < 1.25.2-r0
2 vendors · 200 products · Showing 200 of 2433
References
114 links- pkg.go.dev/vuln/GO-2025-4014Advisory
Show all 100 references
Showing 100 of 114.