- 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
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- 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.
Referenzen
- huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f
- github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be
- www.suse.com/security/cve/CVE-2025-6921
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1250447
- ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11499-1.json
- www.suse.com/security/cve/CVE-2025-6921/
- nvd.nist.gov/vuln/detail/CVE-2025-6921
- github.com/huggingface/transformers/commit/d37f7517972f67e3f2194c000ed0f87f064e5099
- github.com/huggingface/transformers
- pypi.org/project/transformers
- github.com/advisories/GHSA-4w7r-h757-3r74
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-6921.json
- access.redhat.com/security/cve/CVE-2025-6921
- bugzilla.redhat.com/show_bug.cgi
- www.cve.org/CVERecord