CVE-2024-1455: Langchain

Medium severity, CVSS 5.9. EPSS: 0.8% chance of exploitation in the next 30 days.

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

Affected products

  • Langchain Langchain: from 0.1.4, up to and including 0.1.35

Published 2024-03-26. Last modified 2026-06-17.