cve.bz

CVE-2026-112366 micromatch picomatch

8.7 highEPSS 0.3%

High (8.7) in micromatch picomatch. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-112366 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112366?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112366?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112366 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
micromatch picomatchthrough 4.0.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fc5q-39xc-vjpfnpmpicomatch<=4.0.7no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-anymatchno fix listedDEBIAN-CVE-2026-112366
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morenode-anymatchno fix listedUBUNTU-CVE-2026-112366
openSUSETumbleweedgit-bug0.11.0-3.1openSUSE-SU-2026:12261-1
openSUSETumbleweedpi-coding-agent1.5.0-1.1openSUSE-SU-2026:12421-1
Azure Linux3nodejsno fix listedAZL-110055
Azure Linux3nodejs-nodemonno fix listedAZL-109833
Azure Linux3python-tensorboardno fix listedAZL-110085

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having an Important severity for Red Hat products because an unauthenticated remote attacker can completely stall the single-threaded Node.js runtime without requiring specialized privileges. In Red Hat environments, picomatch is embedded as a dependency within containerized services and development tooling to evaluate file paths and route expressions. When applications accept untrusted glob patterns, the resulting algorithmic complexity blocks event processing across all concurrent connections handled by the affected process.

Red Hat's mitigation

--- CME Mitigation Guidance (2026-10-20) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to enforce execution timeouts and step limits on pattern-matching operations, or reject untrusted single-branch repeated extglob expressions before evaluating them with picomatch: upgrade to the fixed Llvm/Swift Lang/Grafana/Prometheus/Ruff/Dotnet/Rust/Yarnpkg builds, which mark mixed wildcards as risky across all branch counts within analyzeRepeatedExtglob, closing all 2 injection vectors (crafted single-branch repeated extglob patterns, crafted input strings triggering catastrophic backtracking). Until patched, this is a concern on Applications evaluating attacker-controlled glob patterns or matching untrusted inputs against repeated extglobs, so Validate and reject untrusted glob patterns containing single-branch repeated extglobs such as +(*) or +(*a) before passing them to picomatch, and avoid evaluating untrusted input strings against repeated extglob patterns. These controls limit blast radius and contain exploitation, but they do not fix the underlying regular expression catastrophic backtracking defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1316 Algorithmic Complexity Safeguards (Pattern/Regex Execution Limits) (high)

ProductPackageStateAdvisory
Red Hat Hardened Imagesdotnet8.0Not affected
Red Hat Hardened Imagesgrafana12.4Affected
Red Hat Hardened Imagesgrafana13.1Affected
Red Hat Hardened Imagesgrafana13.2Affected
Red Hat Hardened Imagesllvm21Not affected
Red Hat Hardened Imagesprometheus3.13Affected
Red Hat Hardened Imagesprometheus3.5Will not fix
Red Hat Hardened ImagesruffNot affected
Red Hat Hardened ImagesrustNot affected
Red Hat Hardened Imagesswift-langNot affected
Red Hat Hardened ImagesyarnpkgNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112366.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON