Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting langfuse-fips-2 package, versions <2.95.12-r38


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.37% (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-LANGFUSEFIPS2-18802282
  • published15 Aug 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

NewCVE-2026-73569  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-fips-2 to version 2.95.12-r38 or higher.

NVD Description

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

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From 5.9.3 until 5.10.1, src/xmlparser/OrderedObjParser.js processes multiple DOCTYPE declarations within a single XML document and passes each declaration's entities through addInputEntities(). addInputEntities() resets maxTotalExpansions and maxExpandedLength every time it is called, allowing additional DOCTYPE declarations to repeatedly reset the configured entity-expansion limits during one parse operation. A crafted XML document can then cause excessive CPU use, event-loop blocking, memory exhaustion, and process termination. This issue is fixed in version 5.10.1.