Skip to content
Connect AISign inSign up free
CVE-2024-583408.7HighCWE-1333

CVE-2024-58340: LangChain <= 0.3.1 MRKLOutputParser ReDoS

LangChain AI · LangChain

Affected: LangChain AI · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.5%probability of exploitation in the next 30 days
42nd percentile
050100

Higher than 42% of scored CVEs

8.7HighCVSS 4.0
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • LangChain AI · LangChainup to and including 0.3.1

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
January 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2024-58340 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References