ZDI-CAN-25423: ZDI-25-1150: (0Day) 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-14920.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-25423?
The severity of ZDI-CAN-25423 is considered high due to the potential for remote code execution.
How do I fix ZDI-CAN-25423?
To mitigate ZDI-CAN-25423, update to the latest version of Hugging Face Transformers that addresses this vulnerability.
What are the affected systems for ZDI-CAN-25423?
ZDI-CAN-25423 affects installations of Hugging Face Transformers across various environments.
What type of vulnerability is ZDI-CAN-25423?
ZDI-CAN-25423 is classified as a remote code execution vulnerability.
Does ZDI-CAN-25423 require user interaction to exploit?
Yes, user interaction is required to exploit ZDI-CAN-25423, as the target must visit a malicious page or open a malicious file.