NVIDIA Megatron-LM Checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability

November 10th, 2026

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of NVIDIA Megatron-LM. User interaction is required to exploit this vulnerability in that the target must 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.

Additional Details

Fixed in Megatron-LM version 0.17.1 (https://github.com/NVIDIA/product-security/tree/main/2026/5881)


Disclosure Timeline

  • 2026-06-02 - Vulnerability reported to vendor
  • 2026-11-10 - Coordinated public release of advisory
  • 2026-11-10 - Advisory Updated

Credit

winters0x64

Back to Advisories