CVE-2026-24149

Code Injection Vulnerability in NVIDIA Megatron-LM Leading to Code Execution

Published Feb 3, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A vulnerability exists in a script used by NVIDIA Megatron-LM that allows an attacker to inject malicious data, leading to code injection. This flaw can be leveraged to execute arbitrary code, potentially escalating privileges, leaking sensitive information, and modifying data. The weakness is classified as CWE-94, which denotes code injection or statement injection.

Affected Systems

The affected product is NVIDIA Megatron-LM, available for all platforms. No specific product versions or patches are listed in the available data, so any installation of Megatron-LM that includes the vulnerable script may be impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 7.8, indicating a high overall risk. The EPSS score is reported as less than 1 %, suggesting that there is a very low probability of exploitation in the wild at present, and the issue is not listed in the CISA KEV catalog. The attack vector is inferred to involve the delivery of crafted input to the vulnerable script; depending on the script’s exposure, this may require local or remote access. Given the severity of potential impact, it is important to evaluate whether the environment exposes the script to untrusted data and to mitigate accordingly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check NVIDIA’s website or security advisories for a patch or update addressing the script vulnerability.
  • Sanitize any input that is passed to the vulnerable script, for example by implementing whitelist validation or input encoding.
  • Ensure that the script runs with the least privileges necessary, restricting file permissions and execution rights to a minimum set of trusted users.

Generated by OpenCVE AI on April 18, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Code Injection Vulnerability in NVIDIA Megatron-LM Leading to Code Execution
Type Values Removed Values Added
First Time appeared Nvidia
Nvidia megatron-lm
Vendors & Products Nvidia
Nvidia megatron-lm
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
nvidia
Published
Updated
Feb 3, 2026, 8:28 PM
Reserved
Jan 21, 2026, 7:09 PM
Status
Deferred
Published
Feb 3, 2026, 8:15 PM
Modified
Jun 17, 2026, 10:22 AM