CVE-2025-14921
Last modified
CVE-2025-14921 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Transformers | 4.54.1 |
References
- https://www.zerodayinitiative.com/advisories/ZDI-25-1149/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-14921?
How severe is CVE-2025-14921?
How do I fix CVE-2025-14921?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-14913The Frontend Post Submission Manager Lite – Frontend Posting…5.3
- CVE-2025-14914IBM WebSphere Application Server Liberty 17.0.0.3 through 26…7.6
- CVE-2025-14915IBM WebSphere Application Server - Liberty 17.0.0.3 through …7.2
- CVE-2025-14917IBM WebSphere Application Server - Liberty 17.0.0.3 through …9.8
- CVE-2025-1492Bundle Protocol and CBOR dissector crashes in Wireshark 4.4.…7.5
- CVE-2025-14920Hugging Face Transformers Perceiver Model Deserialization of…7.8
- CVE-2025-14922Hugging Face Diffusers CogView4 Deserialization of Untrusted…7.8
- CVE-2025-14923IBM WebSphere Application Server - Liberty 17.0.0.3 through …9.8
- CVE-2025-14924Hugging Face Transformers megatron_gpt2 Deserialization of U…7.8
- CVE-2025-14925Hugging Face Accelerate Deserialization of Untrusted Data Re…7.8
- CVE-2025-14926Hugging Face Transformers SEW convert_config Code Injection …7.8
- CVE-2025-14927Hugging Face Transformers SEW-D convert_config Code Injectio…7.8
Are you affected by CVE-2025-14921?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
