Transformers
Vendor:
First CVE: May 18, 2023 · Active for 3 years
30
Total CVEs
More Total CVEs than 96% of tracked products
7.5
Avg CVEs / Year
Higher CVE frequency than 93% of tracked products
7.3
Avg CVSS
Higher Avg CVSS than 46% of tracked products
0.0%
KEV Rate
Bottom 1%
Trends Over Time
The number and severity of CVEs published that impact Transformers over time
Volume of CVEsAvg CVSS Base Score
First CVE
May 18, 2023
3 years ago
Most Recent CVE
Jun 3, 2026
50 days ago
CVE Severity & Scoring
Transformers30 CVEs
23%
67%
All CVEs352,101 CVEs
45%
40%
11%
LowMediumHighCritical
Attack Vector
Local12 (40.0%)
Network18 (60.0%)
Unknown0 (0.0%)
Physical0 (0.0%)
Adjacent Network0 (0.0%)
Attack Complexity
Low29 (96.7%)
High1 (3.3%)
Unknown0 (0.0%)
User Interaction
None12 (40.0%)
Unknown0 (0.0%)
Required18 (60.0%)
Privileges Required
Low3 (10.0%)
High0 (0.0%)
None27 (90.0%)
Unknown0 (0.0%)
Top CVEs
Signals from CVEs in this product scope (30 CVEs).
30 CVEs · Highest risk first
| CVE | Published | CVSS | Risk | KEV | Exploit |
|---|---|---|---|---|---|
CVE-2026-5241CRITICAL A vulnerability in the LightGlue model loading path of huggingface/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model | Jun 3, 2026 | 9.6 | 39 | NO | NO |
CVE-2024-11392HIGH Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on | Nov 22, 2024 | 8.8 | 39 | NO | YES |
CVE-2026-4372HIGH A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft | May 24, 2026 | 7.8 | 35 | NO | NO |
CVE-2024-3568CRITICAL The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the `TFPreT | Apr 10, 2024 | 9.6 | 30 | NO | NO |
CVE-2026-1839HIGH A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for arbitrary code execution. The `_load_rng_state()` method in `src/transforme | Apr 7, 2026 | 7.8 | 27 | NO | NO |
CVE-2024-11393HIGH Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary co | Nov 22, 2024 | 8.8 | 27 | NO | NO |
CVE-2025-14930HIGH Hugging Face Transformers GLM4 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affect | Dec 23, 2025 | 7.8 | 26 | NO | NO |
CVE-2025-14929HIGH Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute | Dec 23, 2025 | 7.8 | 26 | NO | NO |
CVE-2025-14928HIGH Hugging Face Transformers HuBERT convert_config Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected | Dec 23, 2025 | 7.8 | 26 | NO | NO |
CVE-2025-14924HIGH Hugging Face Transformers megatron_gpt2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code | Dec 23, 2025 | 7.8 | 26 | NO | NO |
Exploit Exposure
Signals from CVEs in this product scope (30 CVEs).
CISA KEV
0 CVEs
0.0% of CVEs· Bottom 1%
Metasploit
0 CVEs
0.0% of CVEs· Bottom 1%
Nuclei
0 CVEs
0.0% of CVEs· Bottom 1%
ExploitDB
1 CVE
3.3% of CVEs· 88th percentile
Social Chatter
Signals from CVEs in this product scope (30 CVEs).
Media Mentions
Signals from CVEs in this product scope (30 CVEs).
Top CNAs Publishing CVEs For Transformers
Top CWEs
Versions
| Version | CVE Count | Avg CVSS | Avg EPSS | KEV | Exploits |
|---|---|---|---|---|---|
| 5.2.0 | 1 | 9.6 | 0.5% | 0 | 0 |
| 5.0.0 | 2 | 7.8 | 0.3% | 0 | 0 |
| 4.57.1 | 1 | 7.8 | 0.3% | 0 | 0 |
| 4.57.0 | 3 | 7.8 | 0.3% | 0 | 0 |
| 4.55.0 | 1 | 7.8 | 0.3% | 0 | 0 |
| 4.54.1 | 2 | 7.8 | 0.3% | 0 | 0 |
| 4.52.4 | 2 | 6.4 | 0.4% | 0 | 0 |