Home / Hugging Face / Transformers / CVE-2025-14921
CVE-2025-14921: is it exploited, and which versions of Hugging Face Transformers are affected and fixed?
CVE-2025-14921 is a deserialization of untrusted data vulnerability in Hugging Face Transformers. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: transformers 4.54.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.0, from zdi).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2025-14921?
Hugging Face Transformers Transformer-XL 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 vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25424.
From the CVE record by zdi, last updated December 24, 2025, 16:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Hugging Face | Transformers | not stated |
As the CVE record by zdi states it, last updated December 24, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| huggingface | transformers | 4.54.1 | application |
NVD analysis (status Analyzed), last modified October 19, 2026, 22:10 UTC.
How severe is CVE-2025-14921?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | zdi |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-14921 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 24, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- ZDI-25-1149 x_research-advisory
When was it published, and where is the official record?
- Reserved
- December 18, 2025
- Published
- December 23, 2025, 21:04 UTC
- CVE record updated
- December 24, 2025, 16:25 UTC by zdi
- NVD
- Analyzed, last modified October 19, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Transformers?
- Sep 1, 2026CVE-2026-80047 Hugging Face Transformers: privilege escalation
- Dec 23, 2025CVE-2025-14930 Hugging Face Transformers: deserialization of untrusted data
- Dec 23, 2025CVE-2025-14928 Hugging Face Transformers: code injection (remote code execution)
- Dec 23, 2025CVE-2025-14924 Hugging Face Transformers: deserialization of untrusted data
- Dec 23, 2025CVE-2025-14920 Hugging Face Transformers: deserialization of untrusted data
- Dec 23, 2025CVE-2025-14926 Hugging Face Transformers: code injection (remote code execution)
- Dec 23, 2025CVE-2025-14927 Hugging Face Transformers: code injection (remote code execution)
- Dec 23, 2025CVE-2025-14929 Hugging Face Transformers: deserialization of untrusted data
Questions about CVE-2025-14921
Is CVE-2025-14921 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Hugging Face Transformers are affected by CVE-2025-14921?
transformers 4.54.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2025-14921?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-14921?
High (7.8, CVSS 3.0, from zdi). The severity table above shows each score with its source.
Where is the official record of CVE-2025-14921?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.