## node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio

- 種別: advisory
- 重大度: high
- 関連技術: nodejs
- CVE: CVE-2026-140229
- 公開日時: 2026-12-05T00:16:01.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-9239-v992-p74f)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-9239-v992-p74f

影響: npm:tar < 8.0.0 → 8.0.0
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. Details The check runs from the decompressor's 'data' event, which fires once per call to node zlib's synchronous _processChunk — by then that input chunk's entire inflated out…