CVE-2024-58340: LangChain MRKLOutputParser regular expression denial-of-service
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
LangChain contains a regular expression denial-of-service vulnerability in its MRKLOutputParser method. Crafted model outputs can trigger excessive CPU consumption.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- LangChain
- incident date
- 12 Jan 2026
- first reported
- 12 Jan 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-58340 · redos · infra_vuln
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2026-01-12CVE-2024-58340: LangChain versions up to and including 0.3.1 contain a regular expression denial-of-service (ReDoS) vulnerability in the…NVD · nvd.nist.gov/vuln/detail/CVE-2024-58340
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-02-10CVE-2026-26013: LangChain ChatOpenAI SSRF via Image Token Counting2 Disclosedon AIInfra vuln2 src
- 2025-12-23LangChain serialization injection vulnerability CVE-2025-686642 Disclosedon AIInfra vuln2 src
- 2026-06-16CVE-2026-55443: LangChain: Path traversal and sandbox escape in file loaders2 Disclosedon AIInfra vuln2 src
- 2026-05-08CVE-2026-44843: LangChain vulnerable to unsafe deserialization2 Disclosedon AIInfra vulnSupply chain2 src
- 2026-04-24LangChain langchain-openai TOCTOU DNS rebinding vulnerability2 Disclosedon AIInfra vuln1 src
- 2026-04-24LangChain URL validation SSRF vulnerability in HTMLHeaderTextSplitter2 Disclosedon AIInfra vuln1 src