CVE-2025-23353
7.8NVIDIA · Megatron-LM
NVIDIA Megatron-LM contains a code injection vulnerability in the msdp preprocessing script that allows local attackers to achieve privilege escalation, data tampering, or remote code execution.
Executive summary
A high-severity code injection vulnerability in NVIDIA Megatron-LM exposes systems to potential remote code execution, privilege escalation, and unauthorized data manipulation.
Vulnerability
The vulnerability is a code injection flaw (CWE-94) within the msdp preprocessing script. Per the CVSS vector (PR:L), this issue requires a local attacker with low privileges to trigger the malicious data injection.
Business impact
The potential for code execution and privilege escalation poses a severe threat to the integrity and confidentiality of the host environment. Given the CVSS score of 7.8, this vulnerability could allow an attacker to gain full control over the affected system, leading to unauthorized access to sensitive training data or disruption of machine learning pipelines.
Remediation
Immediate Action: Update NVIDIA Megatron-LM to version 0.13.1 or 0.12.3 immediately to incorporate the necessary security patches.
Proactive Monitoring: Review system logs for unusual script execution patterns or unauthorized attempts to access the msdp preprocessing component.
Compensating Controls: Restrict access to the system where Megatron-LM is deployed to authorized users only, as the vulnerability requires local access to exploit.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Due to the significant impact associated with code injection and privilege escalation, organizations utilizing NVIDIA Megatron-LM must prioritize patching to the latest secure versions. Failure to remediate this vulnerability leaves the underlying infrastructure susceptible to total compromise by a local attacker.