{
  "id": "CVE-2026-73566",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-73566",
  "published_at": "2026-08-13T17:39:05.796Z",
  "title": "node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection",
  "vendor": "isaacs",
  "product": "node-tar",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "isaacs",
        "product": "node-tar",
        "ranges": [
          "\u003c 7.5.21"
        ],
        "fixed_in": [
          "7.5.21"
        ]
      }
    ],
    "upgrade": [
      "Upgrade node-tar to 7.5.21 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
