VulnSea

transformers has 18 CVEs on record between 2024 and 2026. 1 was published in the last 90 days. The median CVSS is 5.3 (medium). None have a confirmed exploitation report.

CVEs per month

Last 12 months, by publish date

101112010203040506070809
Exploited share
0% vs 1% corpus
Median CVSS
5.3
Publish → KEV
Last 90 days
1 prev 2

Weakness classes

Products

  • transformers 18
18
Total CVEs
0
Critical
0
CISA KEV
0
Exploited

transformers vulnerabilities

CVEs affecting transformers, newest first. Open any entry for full detail, references, and exploit status.

18 CVEsRSS

CVE-2026-9856High· 7.1
1mo 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.29%via NVD
CVE-2026-4372High· 7.8
3mo ago

HuggingFace transformers vulnerable to remote code execution

HuggingFace transformers vulnerable to remote code execution

Twilighttransformers · transformersEPSS 0.48%via OSV
CVE-2026-1839Medium· 6.5
5mo ago

HuggingFace Transformers allows for arbitrary code execution in the `Trainer` class

HuggingFace Transformers allows for arbitrary code execution in the `Trainer` class

Sunlittransformers · transformersEPSS 0.35%via OSV
CVE-2025-6921Medium· 5.3
12mo ago

Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer

Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer

Sunlittransformers · transformersEPSS 0.51%via OSV
CVE-2025-6051Medium· 5.3
1y ago

Hugging Face Transformers library has Regular Expression Denial of Service

Hugging Face Transformers library has Regular Expression Denial of Service

Sunlittransformers · transformersEPSS 0.38%via OSV
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.53%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.40%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.43%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.43%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.36%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.43%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.43%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.46%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.73%via OSV
CVE-2024-11393High· 8.80dayPoC
1y ago

Deserialization of Untrusted Data in Hugging Face Transformers

Deserialization of Untrusted Data in Hugging Face Transformers

Abyssaltransformers · transformersEPSS 3.1%via OSV
CVE-2024-11392High· 7.50dayPoC
1y ago

Deserialization of Untrusted Data in Hugging Face Transformers

Deserialization of Untrusted Data in Hugging Face Transformers

Abyssaltransformers · transformersEPSS 7.3%via OSV
CVE-2024-11394High· 8.80dayPoC
1y ago

Deserialization of Untrusted Data in Hugging Face Transformers

Deserialization of Untrusted Data in Hugging Face Transformers

Abyssaltransformers · transformersEPSS 2.6%via OSV
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