🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7513

Bug#1156382: node-minimatch: CVE-2026-140006 CVE-2026-140007

#7513
From: Moritz Mühlenhoff
Date: Fri, 04 Dec 2026 23:20
54 lines
4186 bytes
Source: node-minimatch
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for node-minimatch.

CVE-2026-140006[0]:
| minimatch is a minimal matching utility for converting glob
| expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8,
| minimatch.escape() can produce patterns that do not exclusively
| match the supplied literal input: leading ! can become negation,
| leading # can become a comment, braceExpand() can collapse an
| escaped backslash and reactivate a following magic character when an
| expanded brace group is present and the installed brace-expansion
| release has the affected behavior (2.x or 5.0.4 through 5.0.12), and
| windowsPathsNoEscape combined with magicalBraces can leave braces
| active. Applications that escape attacker-controlled text and then
| use the result as an authorization, filtering, or path-selection
| pattern may match unintended strings or fail to match the intended
| literal. This issue is fixed in version 11.0.8.

 https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4
 Fixed by: https://github.com/isaacs/minimatch/commit/784603e09641970d2ba2caf8c73a95d1015cc67d (v11.0.8)

CVE-2026-140007[1]:
| minimatch is a minimal matching utility for converting glob
| expressions into JavaScript RegExp objects. From 11.0.3 until
| 11.0.8, the top-level minimatch() function stores compiled Minimatch
| objects in a module-level 256-entry Map whose entries are bounded by
| count but not by retained expansion weight below the braceExpandMax
| ceiling. An application that accepts unique attacker-controlled glob
| patterns can retain objects containing up to 100,000 expanded rows
| per entry, causing memory exhaustion and process termination; direct
| construction with new Minimatch() is not affected by this cache
| behavior. This issue is fixed in version 11.0.8.

 https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75
 Fixed by: https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c (v11.0.8)


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-140006
    https://www.cve.org/CVERecord?id=CVE-2026-140006
[1] https://security-tracker.debian.org/tracker/CVE-2026-140007
    https://www.cve.org/CVERecord?id=CVE-2026-140007

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <O6KJj-g1tH-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156382: node-minimatch: CVE-2026-140006 CVE-2026-140007
Date: Sat, 05 Dec 2026 00:20:01 +0100
Message-ID: <O6KJj-g1tH-7@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 23:18:25 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1156382@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 1156382
X-Debian-Pr-Package: src:node-minimatch
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: node-minimatch
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2007038
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 5 Dec 2026 00:15:20 +0100
X-Original-Message-ID: <axNJiNGbJd3xU2Yy@pisco.westfalen.local>