Regular Expression Denial of Service Vulnerability in Hugging Face Transformers Library
CVE-2025-1194
What is CVE-2025-1194?
A vulnerability has been identified in the Hugging Face Transformers library, particularly within the tokenization mechanism of the GPT-NeoX-Japanese model. The SubWordJapaneseTokenizer class processes user inputs using regular expressions that exhibit exponential complexity. When fed specifically crafted inputs, the regex can lead to significant backtracking, resulting in heightened CPU usage and potential application unavailability. This scenario culminates in a Denial of Service (DoS), compromising the functionality and reliability of applications utilizing this library. The impacted version is v4.48.1.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
huggingface/transformers < 4.50.0
References
CVSS V3.1
CVSS V3.0
Timeline
Vulnerability published
Vulnerability Reserved
