CVE-2026-140242
HIGH 7.1CVSS 4.0node-tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing
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.
- Published
- 1 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1284
- Also known as
- GHSA-ph3c-p786-j4rp
- Sources
- NVDJSONCVE ListJSONOSV GHSA-ph3c-p786-j4rpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 7.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | isaacs | node-tar | = >= 7.0.0, < 7.5.24 | |
| OSV | npm | tar | >= 7.0.0, < 7.5.24 | 7.5.24 |
References
- https://github.com/isaacs/node-tar/commit/6b815b7c10be504a01af2369a270add7099542d8 · x_refsource_MISC, WEB
- https://github.com/isaacs/node-tar/releases/tag/v7.5.24 · x_refsource_MISC, WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-ph3c-p786-j4rp · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140242 · ADVISORY
- https://github.com/isaacs/node-tar · PACKAGE
History
- 2 Dec 2026 02:11 UTC · OSV: first stored (published 2 Dec 2026)
- 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
- 1 Dec 2026 20:28 UTC · NVD: 1 reference added
- 1 Dec 2026 18:19 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 18:00 UTC · CVE List: first stored (published 1 Dec 2026)