CVSS 3.0
5.3 mediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3) in huggingface transformers. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in transformers 4.53.0.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Ltransformers (PyPI): fixed in 4.53.0Explain CVE-2025-6051 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6051?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6051?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6051 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| huggingface/transformers | before 4.53.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rcv9-qm8p-9p6j | PyPI | transformers | <4.53.0 | 4.53.0 |
| PYSEC-2026-1988 | PyPI | transformers | <4.53.0 | 4.53.0 |
Red Hat rates this Moderate.
This ReDoS vulnerability is classified as a Moderate issue because, while it does not compromise confidentiality or integrity, it can significantly impact the availability of services using the affected component. Attackers can exploit this flaw by sending specially crafted long numeric inputs that cause excessive CPU consumption, potentially slowing down or crashing text processing pipelines, such as text-to-speech systems. Although it requires no special privileges or user interaction, the impact is limited to resource exhaustion rather than data theft or system takeover.
For mitigation, it’s recommended to implement input validation to limit the length and complexity of numeric strings processed by the EnglishNormalizer. Applying rate limiting and monitoring CPU usage can also help detect and prevent potential abuse. For services exposed to untrusted inputs, consider adding sandboxing or timeouts to avoid prolonged processing caused by malicious payloads.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-cuda-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-rocm-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-tpu-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/de-minimal-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-supported-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/platform-resource-runner-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/de-minimal-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-minimal-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-minimal-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel8 | Fix deferred | |
| 21 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6051.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.