CVE-2025-14920
Unknown Unknown - Not Provided

Deserialization RCE in Hugging Face Transformers Perceiver Model

Vulnerability report for CVE-2025-14920, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-23

Last updated on: 2025-12-23

Assigner: Zero Day Initiative

Description

Hugging Face Transformers Perceiver 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-25423.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-23
Last Modified
2025-12-23
Generated
2026-07-06
AI Q&A
2025-12-23
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hugging_face transformers 3.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a remote code execution flaw in the Hugging Face Transformers library, specifically in the Perceiver model. It occurs because the software improperly validates model files during parsing, allowing deserialization of untrusted data. An attacker can exploit this by tricking a user into visiting a malicious webpage or opening a malicious file, which then lets the attacker execute arbitrary code with the current user's privileges. [1]

Impact Analysis

If exploited, this vulnerability allows an attacker to execute arbitrary code on your system with the same privileges as the current user. This can lead to unauthorized access, data theft, data modification, or disruption of services, impacting confidentiality, integrity, and availability of your system. [1]

Mitigation Strategies

To mitigate this vulnerability, avoid opening untrusted model files or visiting untrusted webpages that may contain malicious Perceiver model files. Ensure that you only use model files from trusted sources. Additionally, keep the Hugging Face Transformers library updated to the latest version where this vulnerability is patched. [1]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-14920. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart