216.73.217.22

CVE-2024-58340

· Published 12/01/2026 23:15 · Modified 13/01/2026 14:03

Labels: CVE-2024-58340 2026-01-12CVE-2024-58340CWE-1333[email protected]

Essential information

Published
12/01/2026 23:15
Modified
13/01/2026 14:03
Author
Creator
CVSS
8.7 HIGH (v3) 8.7 HIGH (v4.0)
CISA KEV
No
CWE
CVSS vector

CVSS metrics

Description

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.

NVD status

Status
Awaiting Analysis — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
langchain / langchain cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*

References