{
  "id": "CVE-2026-140242",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-140242",
  "published_at": "2026-12-01T17:41:28.624Z",
  "title": "node-tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing",
  "vendor": "isaacs",
  "product": "node-tar",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-12-02T22:34:32Z",
    "first_seen_at": "2026-12-02T22:58:38.349Z",
    "days_after_publication": 1.2,
    "repo": "googlesky/CVE-2026-140242",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing. The affected security path includes tar, size, 17 size=Infinity\\n. This issue is fixed in version 7.5.24.",
  "cwe": "CWE-1284",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-140242",
      "url": "https://github.com/googlesky/CVE-2026-140242",
      "created_at": "2026-12-02T22:34:32Z",
      "first_seen_at": "2026-12-02T22:58:38.349Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "isaacs",
        "product": "node-tar",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.5.24"
        ],
        "fixed_in": [
          "7.5.24"
        ]
      }
    ],
    "upgrade": [
      "Upgrade node-tar to 7.5.24 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-ph3c-p786-j4rp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/isaacs/node-tar/commit/6b815b7c10be504a01af2369a270add7099542d8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/isaacs/node-tar/releases/tag/v7.5.24"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
