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-25-1150?
The severity of ZDI-25-1150 is high, as it allows remote code execution on affected installations of Hugging Face Transformers.
How do I fix ZDI-25-1150?
To fix ZDI-25-1150, update the Hugging Face Transformers library to the latest secure version.
Who is affected by ZDI-25-1150?
ZDI-25-1150 affects installations of Hugging Face Transformers that could be exploited through user interaction.
What kind of attack does ZDI-25-1150 enable?
ZDI-25-1150 enables remote attackers to execute arbitrary code on affected systems.
Is user interaction required to exploit ZDI-25-1150?
Yes, user interaction is required as the target must visit a malicious page or open a malicious file to exploit ZDI-25-1150.