Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-14929: CWE-502: Deserialization of Untrusted Data in Hugging Face Transformers

0
High
VulnerabilityCVE-2025-14929cvecve-2025-14929cwe-502
Published: Tue Dec 23 2025 (12/23/2025, 21:04:15 UTC)
Source: CVE Database V5
Vendor/Project: Hugging Face
Product: Transformers

Description

CVE-2025-14929 is a high-severity vulnerability in Hugging Face Transformers affecting the X-CLIP checkpoint conversion process. It arises from improper validation of user-supplied data during deserialization, enabling remote code execution if a user opens a malicious file or visits a crafted webpage. Exploitation requires user interaction but no prior authentication. The vulnerability impacts confidentiality, integrity, and availability by allowing arbitrary code execution within the affected process context. No known exploits are currently in the wild. European organizations using vulnerable versions of Hugging Face Transformers, especially in AI/ML workflows, face significant risk. Mitigation involves avoiding untrusted checkpoint files, applying patches when available, and implementing strict input validation and sandboxing. Countries with strong AI sectors and extensive use of Hugging Face tools, such as Germany, France, the UK, and the Netherlands, are most likely affected.

AI-Powered Analysis

AILast updated: 12/31/2025, 00:22:44 UTC

Technical Analysis

CVE-2025-14929 is a deserialization of untrusted data vulnerability (CWE-502) found in the Hugging Face Transformers library, specifically within the X-CLIP checkpoint conversion functionality. The vulnerability stems from inadequate validation of user-supplied checkpoint data during parsing, which allows an attacker to craft malicious checkpoint files that, when deserialized by the vulnerable library, execute arbitrary code in the context of the running process. Exploitation requires user interaction, such as opening a malicious file or visiting a malicious webpage that triggers the deserialization process. The vulnerability has a CVSS 3.0 base score of 7.8, reflecting high severity due to its impact on confidentiality, integrity, and availability, combined with low attack complexity and no need for privileges. The flaw enables remote code execution (RCE), which can lead to full system compromise depending on the privileges of the affected process. Although no known exploits are currently reported in the wild, the widespread adoption of Hugging Face Transformers in AI and machine learning pipelines makes this vulnerability particularly concerning. The lack of patches at the time of reporting necessitates immediate mitigation steps to prevent exploitation. The vulnerability was assigned and published by the Zero Day Initiative (ZDI) under the identifier ZDI-CAN-28308.

Potential Impact

For European organizations, the impact of CVE-2025-14929 is significant, especially for those leveraging Hugging Face Transformers in AI, natural language processing, and machine learning workflows. Successful exploitation can lead to arbitrary code execution, potentially resulting in data breaches, intellectual property theft, disruption of AI services, and lateral movement within networks. Confidentiality is at risk as attackers can access sensitive model data and training datasets. Integrity is compromised since attackers can alter model checkpoints or outputs, affecting AI decision-making processes. Availability can be disrupted if attackers execute destructive payloads or ransomware. Given the increasing reliance on AI technologies across sectors such as finance, healthcare, automotive, and government in Europe, this vulnerability poses a critical risk to operational continuity and data security. The requirement for user interaction somewhat limits mass exploitation but targeted attacks against AI researchers, data scientists, or automated pipelines remain a serious concern.

Mitigation Recommendations

European organizations should immediately audit their use of Hugging Face Transformers, particularly versions matching the affected commit d1c6310d6a02481d48d81607cba7840be04580d1 or similar. Until official patches are released, organizations must avoid loading or converting checkpoint files from untrusted or unauthenticated sources. Implement strict input validation and sandboxing around any deserialization processes involving model checkpoints to contain potential exploitation. Employ network segmentation and endpoint detection to monitor for suspicious activity related to AI toolchains. Educate users and developers about the risks of opening untrusted files or clicking unknown links that could trigger deserialization. Consider using containerization or virtual machines to isolate AI workloads. Stay updated with vendor advisories and apply patches promptly once available. Additionally, review and harden access controls around AI infrastructure to minimize the impact of potential compromises.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
zdi
Date Reserved
2025-12-18T20:50:02.552Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 694b064e4eddf7475afca185

Added to database: 12/23/2025, 9:14:54 PM

Last enriched: 12/31/2025, 12:22:44 AM

Last updated: 2/7/2026, 3:02:27 AM

Views: 151

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats