StraitOfVuln
Latest / CVE-2025-6051

CVE-2025-6051

MediumCVSS 5.3 (v3.0)Analyzed
CVE.org ↗NVD ↗

Description

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class. This vulnerability affects versions up to 4.52.4 and is fixed in version 4.53.0. The issue arises from the method's handling of numeric strings, which can be exploited using crafted input strings containing long sequences of digits, leading to excessive CPU consumption. This vulnerability impacts text-to-speech and number normalization tasks, potentially causing service disruption, resource exhaustion, and API vulnerabilities.

Details

CVE ID
CVE-2025-6051
Published / updated
14 Sept 2025, 17:15 UTC · last modified 30 Sept 2026, 23:10 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.0 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · Attack vector: Network
Affected vendor
Affected products
Transformers
Affected versions
Transformers: 4.52.4
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.40% probability of exploitation in the next 30 days · 36% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security@huntr.dev