Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates a local attack requiring low privileges with low complexity and no user interaction, scoring 7.8 (High). While the local attack vector (AV:L) somewhat limits exposure compared to network-based vulnerabilities, the lack of required user interaction (UI:N) combined with low attack complexity (AC:L) makes exploitation straightforward once an attacker has local access with low privileges. The high impact ratings across confidentiality, integrity, and availability (all H) reflect the RCE capability. In machine learning research and production environments where Megatron-LM is deployed, attackers with limited local access could exploit this by placing malicious model conversion files in shared directories or convincing users to process untrusted checkpoint files. The real-world risk is elevated in multi-user research environments, shared compute clusters, or CI/CD pipelines that automatically process model files. Without EPSS or KEV data indicating active exploitation, this remains a serious vulnerability requiring prompt patching, particularly in environments handling untrusted model files. |
| Exploit ScenarioDerived | An attacker with low-level local access to a machine learning research cluster places a maliciously crafted checkpoint file in a shared directory or tricks a data scientist into loading a poisoned model file for conversion using the Megatron-LM hybrid conversion script. When the script deserializes the malicious file without proper validation, embedded malicious objects execute arbitrary code with the privileges of the user running the conversion, allowing the attacker to install backdoors, steal proprietary model weights and training data, or pivot to other systems in the research network. The low attack complexity and lack of required user interaction beyond normal workflow operations make this readily exploitable in collaborative ML environments. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
NVIDIA Megatron-LM contains a critical unsafe deserialization vulnerability (CWE-502) in its hybrid conversion script that allows remote code execution when a user loads a maliciously crafted file. The vulnerability affects NVIDIA Megatron-LM installations and enables attackers to execute arbitrary code, escalate privileges, disclose sensitive information, and tamper with data. With a CVSS score of 7.8 and local attack vector requiring low privileges and no user interaction, this represents a significant risk for organizations using this large language model training framework.
RemediationAI
Users should immediately consult the NVIDIA security advisory at https://nvidia.custhelp.com/app/answers/detail/a_id/5769 for official patching guidance, version-specific remediation steps, and validated security updates for Megatron-LM. Until patches can be applied, organizations should implement strict controls on file sources used with the hybrid conversion script, restricting processing to only trusted model files from verified origins. Additional mitigations include implementing file integrity verification before processing conversion scripts, restricting file system permissions to prevent low-privileged users from writing to directories containing model conversion files, applying principle of least privilege to limit which users can execute the conversion script, and monitoring for suspicious deserialization activity. In shared computing environments, consider sandboxing or containerization with restricted privileges when running model conversion operations to limit potential impact of successful exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NVIDIA Megatron-LM is a deep learning framework specifically designed for training large-scale language models using model and data parallelism techniques. The vulnerability stems from unsafe deserialization (CWE-502) in the hybrid conversion script, which processes serialized data from files without proper validation. Unsafe deserialization occurs when an application deserializes untrusted data, allowing attackers to inject malicious objects that execute arbitrary code during the deserialization process. The affected product is identified via CPE cpe:2.3:a:nvidia:megatron_lm:*:*:*:*:*:*:*:*, indicating all versions are potentially vulnerable pending specific version restrictions from the vendor. This class of vulnerability is particularly dangerous in machine learning frameworks where model files and conversion scripts regularly handle serialized data structures.
Know when Nvidia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
NVIDIA Megatron-LM contains a vulnerability in the hybrid conversion script where an Attacker may cause an RCE by convincing a user to load a maliciously crafted file. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.
Executive ViewAI
NVIDIA Megatron-LM contains a critical unsafe deserialization vulnerability that allows remote code execution when users load maliciously crafted files. Organizations using this large language model training framework risk unauthorized access, data theft, and system compromise. With no patch currently available, immediate mitigation actions are required to protect model training infrastructure and sensitive training data.
Disable or restrict access to the hybrid conversion script functionality; implement strict input validation and file integrity checks (whitelisting approved model files with cryptographic hashing); isolate Megatron-LM systems on separate network segments with restricted access controls; enforce principle of least privilege for user accounts accessing the framework; deploy file monitoring and anomaly detection on model loading operations; implement application whitelisting to prevent unauthorized code execution; maintain air-gapped or read-only backup systems for critical training data.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in NVIDIA Megatron-LM Deserialization RCE
View all 5Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execut
Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the addres
The NVIDIA driver in the Graphics Drivers subsystem in Apple OS X before 10.11.4 allows attackers to execute arbitrary c
The NVIDIA driver before 307.78, and Release 310 before 311.00, in the NVIDIA Display Driver service on Windows does not
NVIDIA Windows GPU Display Driver (all versions) contains a vulnerability in DirectX drivers, in which a specially craft
Authentication bypass in NVIDIA Triton Inference Server allows unauthenticated remote attackers to reach protected funct
NVIDIA Windows GPU Display Driver (all versions) contains a vulnerability in DirectX drivers, in which a specially craft
NVIDIA Container Toolkit for Linux contains a Time-of-Check Time-of-Use (TOCTOU) vulnerability when used with default co
For the NVIDIA Quadro, NVS, and GeForce products, NVIDIA GeForce Experience R340 before GFE 2.11.4.125 and R375 before G
The native Bluetooth stack in the Linux Kernel (BlueZ), starting at the Linux kernel version 2.6.32 and up to and includ
The NVIDIA Graphics Drivers subsystem in Apple OS X before 10.11.5 allows attackers to execute arbitrary code in a privi
NVIDIA Container Toolkit 1.16.1 or earlier contains a Time-of-check Time-of-Use (TOCTOU) vulnerability when used with de
EUVD-2025-208975
GHSA-wxjh-pc4c-7rjq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB