CVE-2025-23357
7.8NVIDIA · Megatron-LM
NVIDIA Megatron-LM contains a code injection vulnerability in a script, which may allow a local attacker to achieve arbitrary code execution, privilege escalation, or data tampering.
Executive summary
A code injection vulnerability in NVIDIA Megatron-LM poses a significant risk of full system compromise for users running versions prior to 0.14.0.
Vulnerability
This vulnerability is classified as improper control of code generation (CWE-94), where an attacker can supply malicious data to a script to trigger arbitrary code execution. The CVSS vector indicates that this requires local access and low privileges to exploit, but it leads to a total impact on confidentiality, integrity, and availability.
Business impact
Successful exploitation of this flaw allows an attacker to execute arbitrary code, which could result in full system takeover, unauthorized access to sensitive data, or complete loss of system integrity. With a CVSS score of 7.8, this is a High severity vulnerability that could lead to significant operational disruption and data breach scenarios if left unpatched.
Remediation
Immediate Action: Update NVIDIA Megatron-LM to version 0.14.0 or later as specified in the vendor security advisory.
Proactive Monitoring: Audit environment logs for suspicious script execution patterns or unexpected changes to local system configuration files.
Compensating Controls: Restrict local user access to the server environment where Megatron-LM is deployed to limit the potential for local privilege escalation.
Exploitation status
Public Exploit Available: unknown
Analyst recommendation
Given the potential for code execution and privilege escalation, this vulnerability presents a high risk to the host system. Administrators should prioritize the update to version 0.14.0 immediately to eliminate the underlying code injection vector and prevent potential exploitation.