Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious input file
-
ExploitUser loads file in Megatron-LM inferencing
-
ExecutionUnsafe deserialization executes embedded code
-
ImpactAttacker gains code execution with user privileges
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. |
| Exploitation Conditions | Requires local access with low-privilege user credentials to NVIDIA Megatron-LM during inferencing operations. Attacker must convince a user with legitimate access to load a maliciously crafted input file or model. No victim interaction required beyond normal usage. |
| 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, resulting in high impact across confidentiality, integrity, and availability. While the 7.8 score is significant, the local attack vector (AV:L) reduces immediate internet-scale exploitation risk compared to network-accessible vulnerabilities. However, the lack of user interaction (UI:N) means exploitation can be automated once local access is obtained. The vulnerability is particularly concerning in multi-tenant AI/ML environments, shared research clusters, or systems that process untrusted model files from external sources. Without EPSS or KEV data indicating active exploitation, this should be prioritized based on organizational exposure: high priority for systems accepting external model files or operating in shared environments, moderate priority for isolated internal research systems with trusted inputs only. The deserialization nature makes it highly automatable once an attacker gains the required local access. |
| Exploit ScenarioDerived | An attacker with low-level local access to a system running Megatron-LM crafts a malicious model checkpoint file containing embedded Python code within serialized objects. When a data scientist or automated inference pipeline loads this checkpoint for model evaluation or deployment, the deserialization process automatically executes the attacker's code with the privileges of the Megatron-LM process, allowing the attacker to escalate privileges, access training data or API keys, modify model outputs, or establish persistence on the system. The attack requires no user interaction beyond the standard model loading operation, making it particularly effective against automated ML pipelines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
NVIDIA Megatron-LM contains an insecure deserialization vulnerability (CWE-502) during model inferencing that allows remote code execution when a user loads a maliciously crafted input file. This vulnerability has a CVSS score of 7.8 and requires local access with low privileges but no user interaction, enabling attackers to execute arbitrary code, escalate privileges, disclose sensitive information, and tamper with data. The vulnerability affects NVIDIA's large language model training framework widely used in AI research and production environments.
RemediationAI
Consult the NVIDIA security advisory at https://nvidia.custhelp.com/app/answers/detail/a_id/5769 for the patched version of Megatron-LM and upgrade immediately to the remediated release. Until patching is completed, implement strict input validation by only loading model checkpoints and inference inputs from trusted, verified sources with cryptographic signature verification. Restrict filesystem permissions so that the Megatron-LM process can only read from controlled directories, and apply principle of least privilege by running inference workloads under dedicated service accounts with minimal system access. In multi-tenant or shared environments, consider sandboxing inference operations using containers with restricted capabilities or separate virtual machines to limit the blast radius of potential exploitation. Organizations should audit their model supply chain and establish secure model distribution channels with integrity verification before accepting any external model files.
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 an open-source deep learning framework designed for training large transformer-based language models at scale. The vulnerability stems from CWE-502 (Deserialization of Untrusted Data), which occurs when the inferencing component deserializes model inputs without proper validation. When loading model checkpoints or input data, the framework likely uses Python's pickle or similar serialization mechanisms that can execute arbitrary code embedded in crafted serialized objects. The affected product is identified by CPE cpe:2.3:a:nvidia:megatron_lm:*:*:*:*:*:*:*:*, indicating all versions prior to a patched release are vulnerable. This class of vulnerability is particularly dangerous in machine learning frameworks where model files and data are frequently exchanged between systems and users.
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 inferencing where an Attacker may cause an RCE by convincing a user to load a maliciously crafted input. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.
Executive ViewAI
A critical remote code execution vulnerability in NVIDIA Megatron-LM could allow attackers to compromise AI infrastructure and execute arbitrary code on systems running this widely-used large language model framework. Organizations leveraging Megatron-LM for AI training or inference face immediate risk of data theft, model manipulation, and system compromise, with no vendor patch currently available.
Implement network segmentation to restrict Megatron-LM access to trusted internal networks only; disable or restrict the model loading/inference API endpoints from external access; enforce strict file integrity checks and digital signature validation on all model input files before loading; run Megatron-LM processes with minimal privileges in isolated containers; implement Web Application Firewall (WAF) rules to block suspicious model file uploads; enable comprehensive logging and SIEM alerting on deserialization operations; consider temporarily disabling inference services for non-critical systems until patch availability.
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-2026-15007
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB