CVE-2026-32288

Unbounded allocation for old GNU sparse in archive/tar

Published Apr 8, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A tar.Reader in the Go standard library can allocate an unlimited amount of memory when parsing a malicious archive that contains a large number of sparse regions encoded in the old GNU sparse map format. The resulting out‑of‑memory condition can cause the process to crash or be terminated, leading to a denial‑of‑service impact. The weakness corresponds to CWE-770, indicating an unbounded allocation of resources.

Affected Systems

The vulnerability affects the Go standard library package archive/tar. No specific version ranges are provided in the source data, so any application that imports archive/tar and processes user supplied tar files is potentially exposed. If a system relies on an older Go release that has not yet been patched, it remains vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score of less than 1% suggests that the probability of exploitation in the wild is low, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an adversary supplying a specially crafted tar archive to an application that uses the affected tar.Reader implementation. Exploitation requires the target to accept and process the archive; if the archive is refused or the application terminates before allocation, the impact is mitigated. In environments where arbitrary tar inputs are processed, the risk is higher because the resource exhaustion can disrupt service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Go runtime to a version that includes the latest fix for the unbounded allocation issue in archive/tar.

Generated by OpenCVE AI on April 13, 2026 at 21:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Golang
Golang go
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang
Golang go
Type Values Removed Values Added
Metrics 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'}

ssvc

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

cvssV3_1

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

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library archive/tar
Weaknesses CWE-789
Vendors & Products Go Standard Library
Go Standard Library archive/tar
Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

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'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-789
Type Values Removed Values Added
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.
Title Unbounded allocation for old GNU sparse in archive/tar
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 13, 2026, 6:20 PM
Reserved
Mar 11, 2026, 4:38 PM
Status
Analyzed
Published
Apr 8, 2026, 2:16 AM
Modified
Jul 25, 2026, 10:10 AM
Severity
Moderate
Public date
Apr 8, 2026, 1:06 AM