Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tar
  4. ›
  5. CVE-2026-140229

CVE-2026-140229: node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio

December 5, 2026

The maxDecompressionRatio guard tar added for GHSA-23hp-3jrh-7fpw is evaluated after node zlib has already materialized the inflated output, so it observes an allocation rather than bounding one. A remote, unauthenticated party who can hand tar.t()/tar.x() an archive can deny service with 65,608 bytes, at stock settings.

References

  • github.com/advisories/GHSA-9239-v992-p74f
  • github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2
  • github.com/isaacs/node-tar/commit/da66090c7a44b2140bd4a6343c478a8e411e1aa7
  • github.com/isaacs/node-tar/releases/tag/v8.0.0
  • github.com/isaacs/node-tar/security/advisories/GHSA-9239-v992-p74f
  • nvd.nist.gov/vuln/detail/CVE-2026-140229

Code Behaviors & Features

Detect and mitigate CVE-2026-140229 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.0.0

Fixed versions

  • 8.0.0

Solution

Upgrade to version 8.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/tar/CVE-2026-140229.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 06 Dec 2026 00:17:24 +0000.