CVE-2026-140229

NameCVE-2026-140229
Descriptionnode-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-tar (PTS)bookworm6.1.13+~cs7.0.5-1vulnerable
bookworm (security)6.1.13+~cs7.0.5-1+deb12u1vulnerable
trixie6.2.1+~cs7.0.8-1+deb13u1vulnerable
forky, sid7.5.22+~4.0.1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tarsource(unstable)(unfixed)

Notes

https://github.com/isaacs/node-tar/security/advisories/GHSA-9239-v992-p74f
https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2 (v8.0.0)
https://github.com/isaacs/node-tar/commit/da66090c7a44b2140bd4a6343c478a8e411e1aa7 (v8.0.0)

Search for package or bug name: Reporting problems