Skip to content
Heist/ feed
Back to feed
UnratedFix available

Unbounded allocation for old GNU sparse in archive/tar

Type: advisorySources: OSV

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.

Products
stdlib
Affected versions
Not specified
Fixed versions
1.25.9, 1.26.2
CVEs
CVE-2026-32288
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 03:50 UTC · Revision 1

Source evidence

Unbounded allocation for old GNU sparse in archive/tar

core-osv · Original source

Published 7 Apr 2026, 22:53 UTC

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.

osv:GO-2026-4869

stdlib

Fixed versions: 1.25.9, 1.26.2

Complete source record
{
  "id": "55a50dadaf000dd8c92ccafaf9aea1e327a2cff6dd131cc88717a2d4bed5c07b",
  "url": "https://osv.dev/vulnerability/GO-2026-4869",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unbounded allocation for old GNU sparse in archive/tar",
    "summary": "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.",
    "evidence": "osv:GO-2026-4869",
    "products": [
      {
        "name": {
          "value": "stdlib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.9",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "1.26.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "GO-2026-4869",
      "aliases": [
        "BIT-golang-2026-32288",
        "CVE-2026-32288",
        "GO-2026-4869"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.9"
                },
                {
                  "introduced": "1.26.0-0"
                },
                {
                  "fixed": "1.26.2"
                }
              ]
            }
          ],
          "package": {
            "name": "stdlib",
            "purl": "pkg:golang/stdlib",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-4869.json"
          },
          "ecosystem_specific": {
            "imports": [
              {
                "path": "archive/tar",
                "symbols": [
                  "Reader.Next",
                  "Reader.readOldGNUSparseMap",
                  "readGNUSparseMap1x0"
                ]
              }
            ]
          }
        }
      ],
      "modified": "2026-10-07T10:41:45.714787203Z",
      "provider": "osv",
      "references": [
        "https://go.dev/cl/763766",
        "https://go.dev/issue/78301",
        "https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU"
      ],
      "provider_metadata": {
        "url": "https://pkg.go.dev/vuln/GO-2026-4869",
        "review_status": "REVIEWED"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32288",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 94937,
  "published_at": "2026-04-07T22:53:49+00:00"
}