CVE-2024-1455
CVE-2024-1455 is a medium-severity vulnerability in Langchain with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 1% (51st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0987
- Weakness: CWE-776
- Affected product: Langchain
- Published:
- Last modified:
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).
Frequently asked questions
- What is 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).
- How severe is CVE-2024-1455?
- CVE-2024-1455 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-1455 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-1455?
- CVE-2024-1455 affects Langchain. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-1455?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-1455 have an EU (EUVD) identifier?
- Yes. CVE-2024-1455 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0987.
- When was CVE-2024-1455 published?
- CVE-2024-1455 was published on 2024-03-26 and last updated on 2026-06-17.
References
- https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3
- https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6
Affected products (1)
- cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*
More vulnerabilities in Langchain
- CVE-2025-2828 — Critical (CVSS 10.0): A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community…
- CVE-2024-8309 — Critical (CVSS 9.8): A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection…
- CVE-2024-7042 — Critical (CVSS 9.8): A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this…
- CVE-2023-39631 — Critical (CVSS 9.8): An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate…
- CVE-2023-36281 — Critical (CVSS 9.8): An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This…
- CVE-2023-39659 — Critical (CVSS 9.8): An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a…
All CVEs affecting Langchain →
Other CWE-776 vulnerabilities
- CVE-2019-19144 — Critical (CVSS 9.8): XML External Entity Injection vulnerability in Quantum DXi6702 2.3.0.3 (11449-53631 Build304) devices via…
- CVE-2022-23640 — Critical (CVSS 9.8): Excel-Streaming-Reader is an easy-to-use implementation of a streaming Excel reader using Apache POI. Prior to…
- CVE-2014-2228 — Critical (CVSS 9.8): The XStream extension in HP Fortify SCA before 2.2 RC3 allows remote attackers to execute arbitrary code via unsafe…
- CVE-2013-4335 — Critical (CVSS 9.8): opOpenSocialPlugin 0.8.2.1, > 0.9.9.2, 0.9.13, 1.2.6: Multiple XML External Entity Injection Vulnerabilities
- CVE-2021-23926 — Critical (CVSS 9.1): The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from…
- CVE-2020-24590 — Critical (CVSS 9.1): The Management Console in WSO2 API Manager through 3.1.0 and API Microgateway 2.2.0 allows XML Entity Expansion attacks.