Hugging Face Transformers Deserialization Vulnerability Leading to Remote Code Execution

Vulnerability

A remote code execution vulnerability has been identified in the Hugging Face Transformers library, specifically within the Perceiver model. This issue arises from improper validation of user-supplied data during the parsing of model files, allowing for the deserialization of untrusted data. As a result, remote attackers can execute arbitrary code on affected installations. Exploitation of this vulnerability requires user interaction, such as visiting a malicious page or opening a harmful file.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, executed in the context of the user running the application.

Remediation

Due to the nature of this vulnerability, the primary recommendation is to limit interactions with the product.

Added: Dec 23, 2025, 9:26 PM
Updated: Dec 23, 2025, 9:26 PM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
10.0
exploitability
4.4
remediation
7.9
relevance
1.7
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.