Inefficient Regular Expression Complexity Affecting semaphore package, versions <2.18.12-r2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.52% (42nd 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-CHAINGUARDLATEST-SEMAPHORE-17753934
  • published1 Jul 2026
  • disclosed14 Jul 2026

Introduced: 1 Jul 2026

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

How to fix?

Upgrade Chainguard semaphore to version 2.18.12-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream semaphore package and not the semaphore package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

linkify-it is a links recognition library with full Unicode support. Prior to 5.0.1, LinkifyIt.prototype.match, the package's primary public API, has O(N²) algorithmic complexity for inputs containing many fuzzy links or emails because the JavaScript-level scan loop re-slices input and re-runs unanchored regex searches on progressively shorter tails. Any service that synchronously renders untrusted Markdown with linkify:true on a request hot path can inherit a worker-process denial of service triggerable by a tens-of-KB request body. This issue is fixed in version 5.0.1.

CVSS Base Scores

version 3.1