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.
History

Fri, 07 Nov 2025 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 04 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Mon, 03 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}


Thu, 30 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang archive
Vendors & Products Golang
Golang archive

Wed, 29 Oct 2025 22:30:00 +0000

Type Values Removed Values Added
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.
Title Unbounded allocation when parsing GNU sparse map in archive/tar
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2025-10-29T22:10:14.376Z

Updated: 2025-11-04T21:13:32.834Z

Reserved: 2025-08-27T14:50:58.691Z

Link: CVE-2025-58183

cve-icon Vulnrichment

Updated: 2025-11-04T21:13:32.834Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-10-29T23:16:19.357

Modified: 2025-11-04T22:16:33.200

Link: CVE-2025-58183

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-10-29T22:10:14Z

Links: CVE-2025-58183 - Bugzilla