Inefficient Regular Expression Complexity Affecting yaml-language-server package, versions <2.0.0-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.61% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-YAMLLANGUAGESERVER-22613975
  • published19 Nov 2026
  • disclosed19 Oct 2026

Introduced: 19 Oct 2026

CVE-2026-112366  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Wolfi yaml-language-server to version 2.0.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yaml-language-server package and not the yaml-language-server package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1