{"id":"CVE-2026-140229","summary":"node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio","details":"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.","aliases":["GHSA-9239-v992-p74f"],"modified":"2026-12-01T18:00:22.841048447Z","published":"2026-12-01T16:48:35.517Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140229.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140229.json"},{"type":"FIX","url":"https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2"},{"type":"FIX","url":"https://github.com/isaacs/node-tar/commit/da66090c7a44b2140bd4a6343c478a8e411e1aa7"},{"type":"WEB","url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0"},{"type":"ADVISORY","url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-9239-v992-p74f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140229"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/isaacs/node-tar","events":[{"introduced":"0"},{"fixed":"64456aa724e64cfc153840698090ec7c80811dcc"},{"fixed":"73b352e0010d6c99794ea7374800816a46d3bdb2"},{"fixed":"da66090c7a44b2140bd4a6343c478a8e411e1aa7"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"8.0.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"73b352e0010d6c99794ea7374800816a46d3bdb2"}]},{"range":[{"fixed":"da66090c7a44b2140bd4a6343c478a8e411e1aa7"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v8.0.0","range":[{"fixed":"64456aa724e64cfc153840698090ec7c80811dcc"}]}]}}],"versions":["v7.5.24","v7.5.23","v7.5.22","v7.5.21","v7.5.20","v7.5.19","v7.5.18","v7.5.17","v7.5.16","v7.5.15","v7.5.14","v7.5.13","v7.5.12","v7.5.11","v7.5.10","v7.5.9","v7.5.8","v7.5.7","v7.5.6","v7.5.5","v7.5.4","v7.5.3","v7.5.2","v7.5.1","v7.5.0","v7.4.4","v7.4.3","v7.4.2","v7.4.1","v7.4.0","v7.3.0","v7.2.0","v7.1.0","v7.0.1","v7.0.0","v6.2.1","v6.2.0","v6.1.15","v6.1.14","v6.1.13","v6.1.12","v6.1.11","v6.1.10","v6.1.9","v6.1.8","v6.1.7","v6.1.6","v6.1.5","v6.1.4","v6.1.3","v6.1.2","v6.1.1","v4.4.13","v5.0.5","v6.1.0","v6.0.5","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0.0","v5.0.2","v5.0.4","v5.0.3","v5.0.1","v4.4.12","v4.4.11","v4.4.10","v4.4.9","v2.2.1","v4.4.8","v4.4.7","v4.4.6","v4.4.5","v4.4.4","v4.4.3","v4.4.2","v4.4.1","v4.4.0","v4.3.3","v4.3.2","v4.3.1","v4.3.0","v4.2.0","v4.1.2","v4.1.1","v4.1.0","v4.0.2","v4.0.1","v3.2.0","v4.0.0","v3.1.15","v3.1.14","v3.1.13","v3.1.12","v3.1.11","v3.1.10","v3.1.9","v3.1.8","v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.1","v3.0.0","v2.1.1","v2.1.0","v2.0.1","v2.0.0","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.1.20","v0.1.19","v0.1.18","v0.1.17","v0.1.16","v0.1.15","v0.1.14","0.1.13","0.1.12","0.1.11","0.1.10","0.1.9","0.1.8","0.1.7","0.1.6","0.1.5","0.1.3","0.1.2","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140229.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}