GO-2026-4869

Unbounded allocation for old GNU sparse in archive/tar

At a glance

Published
Updated
CVE
CVE-2026-32288
Aliases
BIT-golang-2026-32288

Description

tar.Reader can allocate an unbounded amount of memory when reading a maliciously-crafted archive containing a large number of sparse regions encoded in the "old GNU sparse map" format.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.9, introduced 1.26.0-0, fixed 1.26.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database