Vulnerability
CVE-2024-1455
A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS).
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-q84m-rmw3-4382
LangChain's XMLOutputParser vulnerable to XML Entity Expansion
-
PYSEC-2026-1519
LangChain's XMLOutputParser vulnerable to XML Entity Expansion