VulnSea

transformers vulnerabilities

CVEs whose affected-version data names the transformers package (pip). Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

19 CVEsRSS

CVE-2026-80047High· 7.8
1mo ago

A vulnerability in Hugging Face Transformers (versions 4.57.0 to 5.16.1) allows remote Python files to be written to local disk without user consent when using GenerativePreTrainedModel.load_custom_generate()

A vulnerability in Hugging Face Transformers (versions 4.57.0 to 5.16.1) allows remote Python files to be written to local disk without user consent when using GenerativePreTrainedModel.load_custom_generate(). The function fetches and ca…

▾ TwilightHugging Face · TransformersEPSS 0.10%via NVD
CVE-2026-75104Medium· 5.5PoC
2mo ago

Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory

Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory. Attackers can supply malicious index files with parent-directory references or…

▾ Twilighthuggingface · transformersEPSS 0.29%via NVD
CVE-2026-9856High· 7.1
2mo ago

A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal

A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal. The issue resides in the `save_pretrained()` methods of `PreTrainedTokenizerBase` and `ProcessorMix…

▾ Twilighttransformers · transformersEPSS 0.46%via NVD
CVE-2026-4372High· 7.8PoC
5mo ago

HuggingFace transformers vulnerable to remote code execution

HuggingFace transformers vulnerable to remote code execution

▾ Midnighttransformers · transformersEPSS 0.70%via OSV
CVE-2025-6921High· 7.5⚖ disputed
1y ago

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer

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 processe…

▾ Twilighthuggingface · transformersEPSS 0.51%via NVD
CVE-2025-6051Medium· 5.3
1y ago

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

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 versi…

▾ Sunlithuggingface · transformersEPSS 0.38%via NVD
CVE-2025-6638Medium· 5.3
1y ago

Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizer

Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizer

▾ Sunlittransformers · transformersEPSS 0.56%via OSV
CVE-2025-5197Medium· 5.3
1y ago

Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability

Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability

▾ Sunlittransformers · transformersEPSS 0.42%via OSV
CVE-2025-3933Medium· 5.3
1y ago

Transformers is vulnerable to ReDoS attack through its DonutProcessor class

Transformers is vulnerable to ReDoS attack through its DonutProcessor class

▾ Sunlittransformers · transformersEPSS 0.50%via OSV
CVE-2025-3263Medium· 5.3
1y ago

Transformers's ReDoS vulnerability in get_configuration_file can lead to catastrophic backtracking

Transformers's ReDoS vulnerability in get_configuration_file can lead to catastrophic backtracking

▾ Sunlittransformers · transformersEPSS 0.50%via OSV
CVE-2025-3777Low· 3.5
1y ago

Transformers's Improper Input Validation vulnerability can be exploited through username injection

Transformers's Improper Input Validation vulnerability can be exploited through username injection

▾ Sunlittransformers · transformersEPSS 0.41%via OSV
CVE-2025-3264Medium· 5.3
1y ago

Transformers vulnerable to ReDoS attack through its get_imports() function

Transformers vulnerable to ReDoS attack through its get_imports() function

▾ Sunlittransformers · transformersEPSS 0.50%via OSV
CVE-2025-3262Medium· 5.3
1y ago

Transformers vulnerable to ReDoS attack through its SETTING_RE variable

Transformers vulnerable to ReDoS attack through its SETTING_RE variable

▾ Sunlittransformers · transformersEPSS 0.49%via OSV
CVE-2025-1194Medium· 4.3
1y ago

Transformers Regular Expression Denial of Service (ReDoS) vulnerability

Transformers Regular Expression Denial of Service (ReDoS) vulnerability

▾ Sunlittransformers · transformersEPSS 0.48%via OSV
CVE-2024-12720Medium· 5.3
1y ago

Transformers Regular Expression Denial of Service (ReDoS) vulnerability

Transformers Regular Expression Denial of Service (ReDoS) vulnerability

▾ Sunlittransformers · transformersEPSS 0.75%via OSV
CVE-2024-11393High· 8.80dayPoC
1y ago

transformers: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability (CVE-2024-11…

A flaw was found in the MaskFormer model of the Hugging Face Transformers library. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. This flaw allows an attac…

▾ AbyssalRed Hat · transformersEPSS 3.1%via CSAF
CVE-2024-11392High· 7.50dayPoC
1y ago

transformers: Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability (CVE-2024-11392)

A flaw was found in the MobileViTV2 model of the Hugging Face Transformers library. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. This flaw allows an atta…

▾ AbyssalRed Hat · transformersEPSS 7.3%via CSAF
CVE-2024-11394High· 8.80dayPoC
1y ago

transformers: Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability (CVE-2024-11394)

A flaw was found in the Trax model of the Hugging Face Transformers library. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. This flaw allows an attacker to…

▾ AbyssalRed Hat · transformersEPSS 2.6%via CSAF
CVE-2024-3568Low· 3.4PoC
2y ago

Transformers Deserialization of Untrusted Data vulnerability

Transformers Deserialization of Untrusted Data vulnerability

▾ Twilighttransformers · transformersEPSS 2.1%via OSV
transformers vulnerabilities (CVEs) · VulnSea