← CVE Intelligence

CVE-2025-58183

Unbounded allocation when parsing GNU sparse map in archive/tar PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Go standard library / archive/taraffected 0 before 1.24.8; affected 1.25.0 before 1.25.2

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.