CVE-2026-140230
7.1high
node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Published
- Last changed
- Assigned by
- GitHub_M
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation. A small crafted archive can exhaust the available Node.js heap and terminate the process. This issue is fixed in version 8.0.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| isaacs node-tar | < 8.0.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140230 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140230 changed 2026-12-01 | Public domain |