ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-58183

golang: archive/tar: Unbounded allocation when parsing GNU sparse map

Moderate No fix available CVE-2025-58183

Details

A flaw was found in the archive/tar package in the Go standard library. 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 specially crafted tar archive with a pax header indicating a big number of sparse regions can cause a Go program to try to allocate a large amount of memory, causing an out-of-memory condition and resulting in a denial of service.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8weldr-client
All versions, will not be fixed
Red Hat:enterprise_linux:9weldr-client
All versions, will not be fixed

References