Code Injection in Megatron-LM - CVE-2025-23357

 

Code Injection in Megatron-LM - CVE-2025-23357

Published: December 2, 2025


Vulnerability identifier: #VU118969
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-23357
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: nVidia
Affected software:
Megatron-LM

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation within the load_common function. A local user can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-23357

Install updates from vendor's website.

Sources