Loop with Unreachable Exit Condition ('Infinite Loop') Affecting langfuse-2 package, versions <2.95.12-r23


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.38% (30th 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-LANGFUSE2-16786359
  • published21 May 2026
  • disclosed29 May 2026

Introduced: 21 May 2026

CVE-2026-41150  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-2 to version 2.95.12-r23 or higher.

NVD Description

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

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.

CVSS Base Scores

version 3.1