CVE-2025-23357 Code injection in Megatron-LM
Attacker can inject malicious code into NVIDIA Megatron-LM scripts, leading to code execution, privilege escalation, and data compromise.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-23357?
CVE-2025-23357 is a high-severity code injection vulnerability in NVIDIA Megatron-LM, published on 11 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
NVIDIA Megatron-LM for all platforms contains a vulnerability in a script, where malicious data created by an attacker may cause a code injection issue. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, data tampering.
Weakness: CWE-94
Which versions are affected by CVE-2025-23357?
How do I fix CVE-2025-23357?
No fix has been published for CVE-2025-23357 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-23357 being exploited?
There is no known exploitation of CVE-2025-23357 in the wild and no public exploit code.
Sources
Also known as GHSA-m9rm-vrjq-vh5w.