Bug 2376773 (CVE-2025-3263) - CVE-2025-3263 transformers: Regular Expression Denial of Service (ReDoS) in huggingface/transformers
Summary: CVE-2025-3263 transformers: Regular Expression Denial of Service (ReDoS) in h...
Keywords:
Status: NEW
Alias: CVE-2025-3263
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-07 10:01 UTC by OSIDB Bzimport
Modified: 2025-07-07 19:17 UTC (History)
38 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-07 10:01:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.