CVE-2026-140229
7.1high
node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio
- 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, when node-tar processes compressed attacker-controlled input, node zlib can materialize the inflated output before maxDecompressionRatio is evaluated. The guard therefore observes an allocation after it occurred rather than bounding it, allowing memory exhaustion despite the configured ratio limit. 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-140229 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140229 changed 2026-12-01 | Public domain |