Source: node-tar
Version: 7.5.24+~4.0.1-1
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for node-tar.

CVE-2026-140229[0]:
| 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.


CVE-2026-140231[1]:
| node-tar is a tar archive manipulation library for Node.js. Prior to
| 8.0.0, decompression within the ratio limit is buffered in memory
| without backpressure, and zero-size entries queue without bound. A
| service that extracts or lists untrusted compressed archives can be
| made to use much more memory than the archive size suggests, without
| hitting the ratio limit. The affected security path includes
| maxDecompressionRatio, ReadEntry, src/parse.ts:576-577, 551-555,
| 343. This issue is fixed in version 8.0.0.

Those, are in part covered by a patch already backported but need [2]
afaics.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-140229
    https://www.cve.org/CVERecord?id=CVE-2026-140229
[1] https://security-tracker.debian.org/tracker/CVE-2026-140231
    https://www.cve.org/CVERecord?id=CVE-2026-140231
[1] 
https://github.com/isaacs/node-tar/commit/da66090c7a44b2140bd4a6343c478a8e411e1aa7
 

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to