CVE-2025-58183

Unbounded allocation when parsing GNU sparse map in archive/tar

MEDIUM
4.3
CVSS Score
Published: October 29, 2025 at 10:10 PM UTC
Updated: October 8, 2026 at 10:10 AM UTC
1 product affected across 1 vendorGo

Using archive/tar by Go standard library?

Get instant alerts when new vulnerabilities affect archive/tar - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.24.81.25.0 ≤ v < 1.25.21.25.0
Affected range stops below 1.24.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.25.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.3MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card