What’s Vulnerable › Vulnerabilities

CVE-2026-32288: Unbounded allocation for old GNU sparse in archive/tar

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 products

How to fix

Upgrade to a fixed version: Go 1.25.9, 1.26.2; Go Stdlib 1.25.9, 1.26.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-32288 or the next vulnerability affects your stack