Live threats

All CVEs / Langchain

CVE-2024-1455Langchain

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Mar 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Langchain.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langchain-core < 0.1.35 0.1.35 pip install "langchain-core>=0.1.35"
PyPI langchain-core < 0.1.35 0.1.35 pip install "langchain-core>=0.1.35"

Per OSV / GitHub Advisories (GHSA-q84m-rmw3-4382, PYSEC-2026-1519). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
langchainlangchain≥ 0.1.4 ≤ 0.1.35

Official sources

References

Links published by the sources. Open them with care.