Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
90 items
A Regular Expression Denial of Service (ReDoS) flaw exists in the Hugging Face Transformers library, in the `convert_tf_weight_name_to_pt_weight_name()` function that converts TensorFlow weight names to PyTorch format. Its regex pattern `/[^/]*___([^/]*)/` can be driven into catastrophic backtracking by crafted input strings, consuming excessive CPU. The flaw affects versions up to 4.51.3 and can cause service disruption, resource exhaustion and potential API service vulnerabilities during model conversion.
Fix: Fixed in version 4.53.0.
NVD/CVE DatabaseThe modelscope/ms-swift library through 2.6.1 is vulnerable to arbitrary code execution. The `load_model_meta()` function of the `ModelFileSystemCache()` class calls `pickle.load()` on untrusted data, so a crafted serialized `.mdl` payload runs code when a victim loads what appears to be a normal checkpoint during training. The payload file is hidden and the training run continues normally, so the victim gets no visible sign of the execution.
A sandbox escape in huggingface/smolagents version 1.14.0 lets attackers bypass the restricted execution environment and achieve remote code execution (RCE). The flaw stems from local_python_executor.py, which inadequately restricts Python code execution despite static and dynamic checks. Attackers can exploit whitelisted modules and functions to run arbitrary code and compromise the host system.
CVE-2025-51480 is a path traversal flaw in onnx.external_data_helper.save_external_data in ONNX 1.17.0. Crafted external_data.location paths containing traversal sequences let attackers overwrite arbitrary files, bypassing the intended directory restrictions. NVD has not yet provided an assessment, and the weakness is classified as CWE-22.
Fix: Fixes are referenced in pull requests https://github.com/onnx/onnx/pull/6959 and https://github.com/onnx/onnx/pull/7040. The source does not state a fixed version or specific workaround.
CVE-2025-3933 is a Regular Expression Denial of Service (ReDoS) flaw in the Hugging Face Transformers library, within the `token2json()` method of the `DonutProcessor` class. It affects versions 4.50.3 and earlier. The regex `<s_(.*?)>` can be driven into catastrophic backtracking by crafted input strings, causing excessive CPU consumption, service disruption and resource exhaustion in document processing with the Donut model.
Fix: Fixed in 4.52.1.
Hugging Face Transformers versions up to 4.49.0 contain an improper input validation flaw in `image_utils.py`. The code checks URLs with `startswith()`, which an attacker can bypass by injecting a username into the URL so it looks like a YouTube link while resolving to a malicious domain. This could enable phishing, malware distribution, or data exfiltration.
Fix: Fixed in version 4.52.1.
NVD/CVE DatabaseA Regular Expression Denial of Service (ReDoS) flaw in the `get_imports()` function within `dynamic_module_utils.py` of the Hugging Face Transformers library affects version 4.49.0. The regex `\s*try\s*:.*?except.*?:`, used to filter try/except blocks from Python code, can be driven into catastrophic backtracking by crafted input strings, causing excessive CPU consumption. The source says this can disrupt remote code loading, exhaust resources in model serving, and enable supply chain attacks and development pipeline disruption.
A Regular Expression Denial of Service (ReDoS) flaw in the Hugging Face Transformers library affects version 4.49.0, specifically the get_configuration_file() function in the transformers.configuration_utils module. The regex pattern config\.(.*)\.json can be triggered by crafted input strings, causing catastrophic backtracking and excessive CPU consumption, which disrupts model serving, exhausts resources, and increases latency.
Fix: Fixed in 4.51.0.
CVE-2025-3262 is a Regular Expression Denial of Service (ReDoS) flaw in huggingface/transformers version 4.49.0. The inefficient regex in the SETTING_RE variable, within transformers/commands/chat.py, uses repetition groups and non-optimized quantifiers, causing exponential backtracking on 'almost matching' payloads. Specially crafted input strings can degrade performance and cause a denial of service.
Fix: Fixed in 4.51.0.
NVD/CVE DatabaseCVE-2025-5320 is a vulnerability classified as problematic in gradio-app gradio up to 5.29.1. It affects the function is_valid_origin of the CORS Handler component, where manipulating the argument localhost_aliases leads to erweiterte Rechte (extended privileges). The attack can be initiated remotely, is rated high in complexity and difficult to exploit, and the exploit has been publicly disclosed. The vendor was contacted early but did not respond.
CVE-2025-2099 affects the `preprocess_string()` function in the `transformers.testing_utils` module of huggingface/transformers version v4.48.3. A regular expression that processes code blocks in docstrings contains nested quantifiers, causing exponential backtracking on input with many newline characters. An attacker can send a specially crafted payload to drive up CPU usage and cause a Denial of Service.
CVE-2025-1194 is a Regular Expression Denial of Service (ReDoS) flaw in the huggingface/transformers library, in `tokenization_gpt_neox_japanese.py` for the GPT-NeoX-Japanese model. Regular expressions in the SubWordJapaneseTokenizer class process specially crafted inputs, and a regex with exponential complexity causes excessive backtracking. The affected version is v4.48.1 (latest), and the result is high CPU usage and potential application downtime.
CVE-2024-12720 is a Regular Expression Denial of Service (ReDoS) flaw in the huggingface/transformers library, in tokenization_nougat_fast.py. A regex in the post_process_single() function processes specially crafted input, and exponential backtracking drives up CPU usage and can cause application downtime. The affected version is v4.46.3 (latest).
CVE-2024-11394 is a remote code execution flaw in Hugging Face Transformers' handling of Trax model files. The component fails to validate user-supplied data, leading to deserialization of untrusted data. An attacker can run code in the context of the current user if the target visits a malicious page or opens a malicious file.
CVE-2024-11393 is a remote code execution flaw in the MaskFormer model of Hugging Face Transformers. The flaw sits in the parsing of model files, where user-supplied data is not properly validated, leading to deserialization of untrusted data. A remote attacker can run arbitrary code in the context of the current user, but only if the target visits a malicious page or opens a malicious file.
CVE-2024-11392 is a remote code execution flaw in the Hugging Face Transformers MobileViTV2 component. The flaw sits in how configuration files are handled, where user-supplied data is not properly validated and can be deserialized. An attacker can run code in the context of the current user, but only if the target visits a malicious page or opens a malicious file.
CVE-2024-4254 affects the 'deploy-website.yml' workflow in the gradio-app/gradio repository on the 'main' branch. The workflow explicitly checks out and runs code from a fork, which lets untrusted code execute in an environment that can push to the base repository and access secrets. An attacker could exfiltrate secrets including GITHUB_TOKEN, HF_TOKEN, VERCEL_TOKEN and AWS keys.
CVE-2024-37053 is a deserialization of untrusted data flaw (CWE-502) in the MLflow platform, versions 1.1.0 and newer. A maliciously uploaded scikit-learn model can run arbitrary code on an end user's system when that user interacts with it. NVD has not yet provided an assessment, and HiddenLayer is listed as the source.
CVE-2024-37052 affects the MLflow platform in versions 1.1.0 and newer. Deserialization of untrusted data lets a maliciously uploaded scikit-learn model run arbitrary code on an end user's system when that model is interacted with. The weakness is classified as CWE-502, and NVD has not yet provided an assessment.
CVE-2024-4253 is a command injection flaw in the 'test-functional.yml' workflow of the gradio-app/gradio repository. The workflow echoes the head repository full name, head branch and workflow reference without adequate sanitization, which allows unauthorized modification of the base repository or exfiltration of secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN' and 'CHROMATIC_PROJECT_TOKEN'. The issue affects versions up to and including '@gradio/video@0.6.12'.
Fix: The issue is resolved in version 1.17.0.
Fix: Fixed in version 4.51.0.