Advisory Details

August 13th, 2025

NVIDIA Transformers4Rec load_model_trainer_states_from_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-25-833
ZDI-CAN-27199

CVE ID CVE-2025-23298
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS NVIDIA
AFFECTED PRODUCTS Transformers4Rec
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of NVIDIA Transformers4Rec. 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 load_model_trainer_states_from_checkpoint function. 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 root.

ADDITIONAL DETAILS NVIDIA has issued an update to correct this vulnerability. More details can be found at:
https://nvidia.custhelp.com/app/answers/detail/a_id/5683
DISCLOSURE TIMELINE
  • 2025-05-22 - Vulnerability reported to vendor
  • 2025-08-13 - Coordinated public release of advisory
  • 2025-08-14 - Advisory Updated
CREDIT Peter Girnus (@gothburz) of Trend Zero Day Initiative
BACK TO ADVISORIES