
29/4/2025

29/4/2025

29/4/2025
CVE-2025-1194: Regular Expression Denial of Service (ReDoS) in huggingface/transformers
First published: Tue Apr 29 2025(Updated: )
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file `tokenization_gpt_neox_japanese.py` of the GPT-NeoX-Japanese model. The vulnerability occurs in the SubWordJapaneseTokenizer class, where regular expressions process specially crafted inputs. The issue stems from a regex exhibiting exponential complexity under certain conditions, leading to excessive backtracking. This can result in high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.48.1 (latest).
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|
Hugging Face | | |
pip/transformers | <4.50.0 | 4.50.0 |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2025-1194?
CVE-2025-1194 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.
How do I fix CVE-2025-1194?
To fix CVE-2025-1194, update the huggingface/transformers library to the latest version where the vulnerability has been addressed.
What software is affected by CVE-2025-1194?
CVE-2025-1194 affects the Hugging Face Transformers library, specifically the GPT-NeoX-Japanese model.
What is the impact of CVE-2025-1194?
The impact of CVE-2025-1194 includes potential denial of service due to excessive time taken in regular expression processing.
In which file is CVE-2025-1194 found?
CVE-2025-1194 is found in the file tokenization_gpt_neox_japanese.py.
- agent/weakness
- agent/type
- agent/description
- agent/first-publish-date
- agent/title
- agent/guess-ai
- agent/software-canonical-lookup
- collector/nvd-api
- source/NVD
- agent/severity
- agent/author
- collector/github-advisory-latest
- source/GitHub
- alias/GHSA-fpwr-67px-3qhx
- alias/CVE-2025-1194
- agent/last-modified-date
- agent/references
- agent/source
- agent/softwarecombine
- agent/event
- collector/nvd-cve
- agent/tags
- collector/mitre-cve
- source/MITRE
- collector/github-advisory
- vendor/hugging face
- canonical/hugging face
- package-manager/pip
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203