CVE-2025-14924: (0Day) Hugging Face Transformers megatron_gpt2 Deserialization of Untrusted Data Remote Code Execution Vulnerability
Hugging Face Transformers megatrongpt2 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 checkpoints. 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 process. Was ZDI-CAN-27984.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-14924?
CVE-2025-14924 is classified as a critical severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-14924?
To fix CVE-2025-14924, users should update Hugging Face Transformers to the latest patched version provided by the vendor.
What types of attacks can be carried out using CVE-2025-14924?
CVE-2025-14924 allows attackers to perform remote code execution, enabling them to execute arbitrary code on targeted systems.
Does CVE-2025-14924 require user interaction to exploit?
Yes, exploitation of CVE-2025-14924 requires user interaction.
Which software products are affected by CVE-2025-14924?
CVE-2025-14924 affects installations of Hugging Face Transformers, specifically versions vulnerable to deserialization of untrusted data.