The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in th...
Vendor
huggingface vulnerabilities
47 published CVES affecting huggingface, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 47
- Critical
- 4
- High
- 27
- Medium
- 15
- Low
- 1
- Unscored
- 0
- CISA KEV
- 0
Products
- transformers 30
- huggingface/transformers 20
- smolagents 4
- diffusers 3
- huggingface/datasets 2
- huggingface/smolagents 2
- huggingface/text-generation-inference 2
- LeRobot 2
- finetrainers 1
- peft 1
- text generation inference 1
- text-generation-inference 1
Latest huggingface CVEs
Newest publication first · page 2 of 2
-
HighCVSS 7.5 EPSS 0.70%
-
MediumCVSS 5.3 EPSS 0.42%
A vulnerability was identified in huggingface LeRobot up to 0.3.3. Affected by this vulnerability is an unknown functionality of the file lerobot/common/robot_devices/robots/lekiwi_remote.py of the component ZeroMQ Socket Handler. The manipulation leads to missing authentication....
-
MediumCVSS 5.3 EPSS 0.56%
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the normalize_numbers() method of the EnglishNormalizer class. This vulnerability affects versions up to 4.52.4 and is fixed in version 4.53.0...
-
HighCVSS 7.5 EPSS 0.70%
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically affecting the MarianTokenizer's remove_language_code() method. This vulnerability is present in version 4.52.4 and has been fixed in version 4.53.0....
-
MediumCVSS 5.3 EPSS 0.64%
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hugging Face Transformers library, specifically in the convert_tf_weight_name_to_pt_weight_name() function. This function, responsible for converting TensorFlow weight names to PyTorch format, uses a regex...
-
CriticalCVSS 10.0 EPSS 1.1%
A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately...
-
MediumCVSS 5.3 EPSS 0.67%
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the DonutProcessor class's token2json() method. This vulnerability affects versions 4.50.3 and earlier, and is fixed in version 4.52.1. The is...
-
LowCVSS 3.5 EPSS 0.52%
Hugging Face Transformers versions up to 4.49.0 are affected by an improper input validation vulnerability in the image_utils.py file. The vulnerability arises from insecure URL validation using the startswith() method, which can be bypassed through URL username injection. This a...
-
MediumCVSS 5.3 EPSS 0.67%
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically in the get_imports() function within dynamic_module_utils.py. This vulnerability affects versions 4.49.0 and is fixed in version 4.51.0. The issue ar...
-
MediumCVSS 5.3 EPSS 0.67%
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 resolve...
-
HighCVSS 7.5 EPSS 0.80%
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the SETTING_RE variable within the transformers/command...
-
HighCVSS 7.5 EPSS 0.85%
A vulnerability in the preprocess_string() function of the transformers.testing_utils module in huggingface/transformers version v4.48.3 allows for a Regular Expression Denial of Service (ReDoS) attack. The regular expression used to process code blocks in docstrings contains nes...
-
MediumCVSS 6.5 EPSS 0.66%
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 re...
-
HighCVSS 7.5 EPSS 0.81%
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability occurs in the post_process_single() function, where a regular expression processes speciall...
-
HighCVSS 8.8 EPSS 3.6%
Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vu...
-
HighCVSS 8.8 EPSS 4.3%
Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit t...
-
HighCVSS 8.8 EPSS 9.2% Public exploit
Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this v...
-
MediumCVSS 4.4 EPSS 0.49%
A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the autodocs.yml workflow file. The vulnerability arises from the insecure handling of the github.head_ref user input, which is used to dynamically construct a comma...
-
CriticalCVSS 9.6 EPSS 2.8%
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the load_repo_checkpoint() function of the TFPreTrainedModel() class. Attackers can execute arbitrary code and commands by crafting a malicious serializ...
-
HighCVSS 7.8 EPSS 0.85%
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
-
HighCVSS 8.8 EPSS 1.1%
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
-
MediumCVSS 4.7 EPSS 0.26%
Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.