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

Brandon Niemczyk

+3

·

Published

2025-12-18

·

Updated

2026-06-04

·

CVE-2025-14930

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 related to the parsing of weights, stemming from insufficient validation of user-supplied data. This can lead to the deserialization of untrusted data, potentially allowing a remote attacker to execute arbitrary code. User interaction is required, as the target must visit a malicious page or open a malicious file to trigger the issue. The vulnerability was assigned ZDI-CAN-28309.
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-14930
PYSEC-2025-218
ZDI-25-1145

Affected Products

Huggingface/Transformers