Article View: linux.debian.bugs.dist
Article #7340Bug#1156269: node-tar: CVE-2026-140229 CVE-2026-140231
From: Salvatore Bonaccorso
Date: Thu, 03 Dec 2026 16:40
Date: Thu, 03 Dec 2026 16:40
49 lines
3450 bytes
3450 bytes
Source: node-tar
Version: 7.5.24+~4.0.1-1
X-Debbugs-CC: team@security.debian.org
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
Technical Details
Message-ID:
<O6i0F-fLYR-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1156269: node-tar: CVE-2026-140229 CVE-2026-140231 Date: Thu, 03 Dec 2026 17:40:01 +0100 Message-ID: <O6i0F-fLYR-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Dec 3 16:37:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1156269@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, pkg-javascript-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1156269 X-Debian-Pr-Package: src:node-tar X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: node-tar MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006769 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 3 Dec 2026 17:34:33 +0100 X-Original-Message-ID: <axGaGeB_UysQqyAZ@eldamar.lan>