Skip to main content
← All vulnerabilities
CVE-2024-1455GHSA-Q84M-RMW3-4382PYSEC-2026-1519

Billion Laughs Attack leading to DoS in langchain-ai/langchain

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.35
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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).

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langchain-ai/langchain

    fixed in 0.1.35

  • langchain-corePyPI

    fixed in 0.1.35

References 2

huntr.com

GitHub · langchain-ai/langchain