Inefficient regular expression complexity in transformers - CVE-2025-3263

 

Inefficient regular expression complexity in transformers - CVE-2025-3263

Published: February 17, 2026


Vulnerability identifier: #VU122994
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-3263
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expression in the `get_configuration_file()` function within the `transformers.configuration_utils` module. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

transformers

How to mitigate CVE-2025-3263

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

transformers - update to 4.51.0

External References

Related Security Bulletins