← Back to CVE Explorer

CVE-2026-73566

Full vulnerability record from the local CVENow database.

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-13 18:18:19.250000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
  "id": "CVE-2026-73566",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-13T18:18:19.250",
  "lastModified": "2026-10-24T15:10:00.190",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21."
    },
    {
      "lang": "es",
      "value": "node-tar es una biblioteca de manipulación de archivos tar para Node.js. Antes de la versión 7.5.21, el filesFilter de node-tar en src/list.ts utiliza la función auxiliar recursiva mapHas para recorrer una ruta de entrada de archivo hacia arriba con path.dirname() y sin límite de segmentos cuando tar.t(...) o tar.x(...) reciben una lista de selección de miembros no vacía. Una cabecera de ruta larga GNU L o PAX x manipulada con miles de segmentos separados por barras alcanza este.filter(entry.path, entry) en Parser[CONSUMEHEADER] en src/parse.ts antes de que Unpack[CHECKPATH] aplique maxDepth, causando un desbordamiento de pila de RangeError inatrapable que termina los consumidores asíncronos y de streaming de Node.js. Este problema está solucionado en la versión 7.5.21."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "isaacs",
          "product": "node-tar",
          "versions": [
            {
              "version": "< 7.5.21",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-18T01:27:38.757239Z",
          "id": "CVE-2026-73566",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-400"
        },
        {
          "lang": "en",
          "value": "CWE-674"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}