Medium severity · published Mar 26, 2024
CVE-2024-1455
Billion Laughs Attack leading to DoS in langchain-ai/langchain
5.9
CVSS
0.8%
EPSS
No
On KEV
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).
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
langchain-ai/langchain · langchain-ai
before 0.1.35 · source: vendor
LA
Langchain · Langchain
0.1.4 through 0.1.35 · source: NVD
LA
Langchain-ai\/langchain · Langchain-ai
before 0.1.35 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-1455
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-1455
Patch
https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3
Exploit
https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6
More from langchain-ai/langchain
10.0
CVE-2025-2828
SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
9.8
CVE-2024-8309
SQL Injection in langchain-ai/langchain
8.8
CVE-2024-3571
Path Traversal in langchain-ai/langchain
8.1
CVE-2024-0243
Server-side Request Forgery In Recursive URL Loader
7.8
CVE-2024-5998
Deserialization of Untrusted Data in langchain-ai/langchain
