Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

LangChain <= 0.3.1 MRKLOutputParser ReDoS

CVSS 4.0 8.7 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2024-58340

Published

LangChain versions up to and including 0.3.1 contain a regular expression denial-of-service (ReDoS) vulnerability in the MRKLOutputParser.parse() method (libs/langchain/langchain/agents/mrkl/output_parser.py). The parser applies a backtracking-prone regular expression when extracting tool actions from model output. An attacker who can supply or influence the parsed text (for example via prompt injection in downstream applications that pass LLM output directly into MRKLOutputParser.parse()) can trigger excessive CPU consumption by providing a crafted payload, causing significant parsing delays and a denial-of-service condition.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-58340

Published

LangChain

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "defaultStatus": "unknown",
                    "packageURL": "pkg:github/langchain-ai/langchain",
                    "product": "LangChain",
                    "repo": "https://github.com/langchain-ai/langchain",
                    "vendor": "LangChain AI",
                    "versions": [
                        {
                            "lessThanOrEqual": "0.3.1",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 21:33 UTC · 276 of 277 readable · 273 fully read · documentation 469/469 current