Advisory

GHSA-fc5q-39xc-vjpf

Also known as: CVE-2026-112366

Summary

picomatch vulnerable to ReDoS through single-branch repeated extglobs

Details

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

High Basis: The source's own band: HIGH

Dates

Published
2026-10-19 18:32 UTC
Modified
2026-11-17 16:00 UTC

Affected packages and fixes

picomatch

npm · All systems

Affected

  • introduced 0, last affected 4.0.7 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences