Loop with Unreachable Exit Condition ('Infinite Loop') Affecting langfuse-4 package, versions <4.46.0-r0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.43% (35th 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-LANGFUSE4-20145270
  • published26 Sept 2026
  • disclosed10 Jun 2026

Introduced: 10 Jun 2026

CVE-2025-71330  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-4 to version 4.46.0-r0 or higher.

NVD Description

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

image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted ICNS image buffer. Attackers can craft an ICNS buffer containing valid magic bytes and a zero-valued entry length field to trigger an infinite loop in the ICNS parser, as the offset is never incremented when the entry length field is 0, causing the while loop condition to remain true indefinitely.

CVSS Base Scores

version 3.1