ADVISORIES

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.

Medium severity PyPI 2

Advisories

  • GHSA-q84m-rmw3-4382

    LangChain's XMLOutputParser vulnerable to XML Entity Expansion

    Moderate CVE-2024-1455 PyPI Updated 7 July 2026
  • PYSEC-2026-1519

    LangChain's XMLOutputParser vulnerable to XML Entity Expansion

    CVE-2024-1455 PyPI Updated 7 July 2026

References