PT-2025-52379 · Hugging Face · Huggingface/Transformers

The_Kernel_Panic

·

Published

2025-12-18

·

Updated

2026-01-21

·

CVE-2025-14921

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Hugging Face Transformers (affected versions not specified)
Description A flaw exists in Hugging Face Transformers due to insufficient validation of user-supplied data during the parsing of model files. This can lead to the deserialization of untrusted data, potentially allowing a remote attacker to execute arbitrary code in the context of the current user. User interaction is required, such as visiting a malicious page or opening a malicious file, to trigger exploitation. This issue was identified as ZDI-CAN-25424.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

RCE

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

CVE-2025-14921
PYSEC-2025-212
ZDI-25-1149

Affected Products

Huggingface/Transformers