CVE-2025-3263
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-07

Last updated on: 2025-08-07

Assigner: huntr.dev

Description
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically in the `get_configuration_file()` function within the `transformers.configuration_utils` module. The affected version is 4.49.0, and the issue is resolved in version 4.51.0. The vulnerability arises from the use of a regular expression pattern `config\.(.*)\.json` that can be exploited to cause excessive CPU consumption through crafted input strings, leading to catastrophic backtracking. This can result in model serving disruption, resource exhaustion, and increased latency in applications using the library.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-07
Last Modified
2025-08-07
Generated
2026-05-07
AI Q&A
2025-07-07
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
huggingface transformers From 4.49.0 (inc) to 4.51.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Regular Expression Denial of Service (ReDoS) issue in the Hugging Face Transformers library, specifically in the get_configuration_file() function. It occurs because of a regular expression pattern that can be exploited with crafted input strings to cause excessive CPU usage due to catastrophic backtracking, leading to service disruption and resource exhaustion.


How can this vulnerability impact me? :

The vulnerability can cause model serving disruption, resource exhaustion, and increased latency in applications using the affected library version, potentially degrading performance or causing denial of service.


What immediate steps should I take to mitigate this vulnerability?

Upgrade the Hugging Face Transformers library to version 4.51.0 or later, where the vulnerability in the get_configuration_file() function has been fixed. Avoid using the affected version 4.49.0 to prevent exploitation of the Regular Expression Denial of Service (ReDoS) vulnerability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart