← Übersicht Nicht im beobachteten Stack

LangChain <= 0.3.1 MRKLOutputParser ReDoS

CVE-2024-58340 · PYSEC-2026-75 · WID-SEC-W-2026-0103

Hoch · CVSS 8.7 BSI: mittelRed Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
13.01.2026 00:05
Zuletzt geändert
15.07.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 betroffen, 3 nicht betroffen.

Open Source LangChain <=0.3.1 Betroffen
Red Hat Enterprise Linux AI (RHEL AI) 3 Betroffenwird nicht behoben rhelai3/bootc-cuda-rhel9, rhelai3/disk-image-cuda-rhel9
Red Hat OpenShift AI (RHOAI) Betroffenwird nicht behoben rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9
Nicht betroffen (3)
OpenShift LightspeedNicht betroffenverwundbarer Code nicht enthaltenopenshift-lightspeed/lightspeed-service-api-rhel9
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/de-supported-rhel8, ansible-automation-platform-24/de-supported-rhel9, ansible-automation-platform-24/ee-dellemc-openmanage-rhel8, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, ansible-automation-platform-24/ee-supported-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-24/platform-resource-runner-rhel8, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-minimal-rhel9, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/de-supported-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-minimal-rhel9, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/ee-supported-rhel9, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-25/platform-resource-runner-rhel8 und 12 weitere
Red Hat OpenShift AI (RHOAI)Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-llama-stack-core-rhel9
Weitere betroffene Pakete (3)
CVELangChain AI/LangChainkein Fix bekanntCVE-2024-58340
NVDlangchain:langchainkein Fix bekanntCVE-2024-58340
PyPIlangchain-exa1.0.0a1PYSEC-2026-75

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.