CVE-2026-140229
JSON

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 packageVersionsReported by
isaacs node-tar< 8.0.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140229 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140229 changed 2026-12-01Public domain