CVE-2025-3262
Last modified
CVE-2025-3262 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within the `transformers/commands/chat.py` file. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within the `transformers/commands/chat.py` file. The regex contains repetition groups and non-optimized quantifiers, leading to exponential backtracking when processing 'almost matching' payloads. This can degrade application performance and potentially result in a denial-of-service (DoS) when handling specially crafted input strings. The issue is fixed in version 4.51.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.51.0 |
References
- https://huntr.com/bounties/ecf5ccc4-39e7-4fb3-b547-14a41d31a184Exploit, Third Party Advisory
- https://huntr.com/bounties/ecf5ccc4-39e7-4fb3-b547-14a41d31a184Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-3262?
How severe is CVE-2025-3262?
How do I fix CVE-2025-3262?
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-32614Improper Control of Filename for Include/Require Statement i…8.8
- CVE-2025-32615Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-32616Cross-Site Request Forgery (CSRF) vulnerability in nimbata N…7.1
- CVE-2025-32617Cross-Site Request Forgery (CSRF) vulnerability in Ydesignse…7.1
- CVE-2025-32618Improper Neutralization of Special Elements used in an SQL C…8.5
- CVE-2025-32619Cross-Site Request Forgery (CSRF) vulnerability in KeyCAPTCH…7.1
- CVE-2025-32620Missing Authorization vulnerability in fromdoppler Doppler F…7.1
- CVE-2025-32621Cross-Site Request Forgery (CSRF) vulnerability in Vsourz Di…7.1
- CVE-2025-32622Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-32623Cross-Site Request Forgery (CSRF) vulnerability in plainware…7.1
- CVE-2025-32624Missing Authorization vulnerability in czater Czater.pl – li…7.1
- CVE-2025-32625Improper Neutralization of Input During Web Page Generation …7.1
Are you affected by CVE-2025-3262?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
