← Übersicht Nicht im beobachteten Stack

Regular Expression Denial of Service (ReDoS) in huggingface/transformers

CVE-2025-6921 · GHSA-4w7r-h757-3r74 · PYSEC-2026-1980 · openSUSE-SU-2026:11499-1

Hoch · CVSS 7.5 SUSE: importantSUSE: moderateRed Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
23.09.2025 15:56
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 5 betroffen, 1 behoben.

OpenShift Lightspeed BetroffenFix zurückgestellt openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9
Red Hat AI Inference Server BetroffenFix zurückgestellt rhaiis-preview/vllm-cuda-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaiis/vllm-tpu-rhel9
Red Hat Ansible Automation Platform 2 BetroffenFix zurückgestellt ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, 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/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, ansible-automation-platform-tech-preview/ansible-devspaces-rhel9, ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9
Red Hat Enterprise Linux AI (RHEL AI) BetroffenFix zurückgestellt rhelai1/bootc-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/bootc-azure-nvidia-rhel9, rhelai1/bootc-gcp-nvidia-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/instructlab-intel-rhel9, rhelai1/instructlab-nvidia-rhel9
Red Hat OpenShift AI (RHOAI) BetroffenFix zurückgestellt rhoai/odh-feast-operator-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-training-operator-rhel8, rhoai/odh-training-operator-rhel9
openSUSE Tumbleweed Behoben python313-transformers-5.15.0-1.1, python314-transformers-5.15.0-1.1
Weitere betroffene Pakete (5)
CVEhuggingface/huggingface/transformers4.53.0CVE-2025-6921
NVDhuggingface:transformers4.53.0CVE-2025-6921
PyPItransformers4.53.0GHSA-4w7r-h757-3r74
PyPItransformers4.53.0PYSEC-2026-1980
openSUSE:Tumbleweedpython-transformers5.15.0-1.1openSUSE-SU-2026:11499-1

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.