CVE-2025-6051
Last modified
CVE-2025-6051 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Transformers | 4.52.4 |
References
- https://huntr.com/bounties/af929523-7b59-418a-bf55-301830b2ac9dExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-6051?
How severe is CVE-2025-6051?
How do I fix CVE-2025-6051?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-60495A segmentation violation in the gf_media_get_color_info func…5.5
- CVE-2025-6050Mezzanine CMS, in versions prior to 6.1.1, contains a Stored…4.8
- CVE-2025-60500QDocs Smart School Management System 7.1 allows authenticate…7.2
- CVE-2025-60503A cross-site scripting (XSS) vulnerability exists in the adm…8.7
- CVE-2025-60506Moodle PDF Annotator plugin v1.5 release 9 allows stored cro…5.4
- CVE-2025-60507Cross site scripting vulnerability in Moodle GeniAI plugin (…8.9
- CVE-2025-60511Moodle OpenAI Chat Block plugin 3.0.1 (2025021700) suffers f…4.3
- CVE-2025-60514Tillywork v0.1.3 and below is vulnerable to SQL Injection in…6.5
- CVE-2025-6052A flaw was found in how GLib’s GString manages memory when a…7.5
- CVE-2025-6053The Zuppler Online Ordering plugin for WordPress is vulnerab…6.1
- CVE-2025-60534Blue Access Cobalt v02.000.195 suffers from an authenticatio…9.8
- CVE-2025-60535A Cross-Site Request Forgery (CSRF) in the component /endpoi…7.3
Are you affected by CVE-2025-6051?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
