Description
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).
Scores
CVSS v3
5.9
EPSS
0.0011
EPSS Percentile
28.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-776
Status
published
Products (2)
langchain/langchain
0.1.4 - 0.1.35
pypi/langchain-core
0 - 0.1.35PyPI
Published
Mar 26, 2024
Tracked Since
Feb 18, 2026